[Qgis-developer] Re: qgis from svn
Tim Sutton
tim at linfiniti.com
Thu Feb 15 19:54:46 EST 2007
Hi
I dont have a solution for this yet, except to turn off SIP bindings.
If you are specificaly trying to use the python bindings that
obviously doesnt help. If you dont need the bindings, just do
rm -rf build (if you have it)
cmake .. (may not need to do this step)
ccmake ..
scroll right down
toggle the bindings option
press c to configure
press g to generate
press q to quit
If you are on the OSX system you need to edit CMakeCache.txt and
change gdal.so to gdal.dylib
If you are on linux the SIP bindings should build assuming you have
installed SIP and PyQt.
This topic is better discussed on the qgis mailing list since there
are people better able to help there.
Regards
Tim
2007/2/15, John C. Tull <jctull at gmail.com>:
> Tim,
>
> I am running into the problem building qgis from svn trunk regarding
> qgsgeometry.h that you reported as "CMake Trunk OSX: SIP error" on
> the qgis.devel blog system earlier this month.
>
> I was unable to work out a solution from the follow-up comment. Do
> you know how to get this to work without dying at:
> ...
> Generating core/Makefile, gui/Makefile
> Parsing SIP files for 'core' library...
> Parsing SIP files for 'gui' library...
> Creating makefiles...
> Creating qgisconfig.py...
> Done
> [ 62%] Generating core/core.so
> In file included from /Users/jctull/sources/qgis/python/core/
> qgsgeometry.sip:172,
> from sipcorecmodule.cpp:39:
> /Users/jctull/sources/qgis/src/core/qgsgeometry.h:25:18: error:
> geos.h: No such file or directory
> /Users/jctull/sources/qgis/src/core/qgsdataprovider.h:124: warning:
> unused parameter 'subset'
> /Users/jctull/sources/qgis/src/core/qgsdataprovider.h:181: warning:
> unused parameter 'layers'
> /Users/jctull/sources/qgis/src/core/qgsdataprovider.h:190: warning:
> unused parameter 'name'
> /Users/jctull/sources/qgis/src/core/qgsdataprovider.h:190: warning:
> unused parameter 'vis'
> /Users/jctull/sources/qgis/src/core/renderer/qgsrenderer.h:49:
> warning: unused parameter 'f'
> /Users/jctull/sources/qgis/src/core/qgsrasterdataprovider.h:91:
> warning: unused parameter 'host'
> /Users/jctull/sources/qgis/src/core/qgsrasterdataprovider.h:91:
> warning: unused parameter 'port'
> /Users/jctull/sources/qgis/src/core/qgsrasterdataprovider.h:91:
> warning: unused parameter 'user'
> /Users/jctull/sources/qgis/src/core/qgsrasterdataprovider.h:91:
> warning: unused parameter 'pass'
> /Users/jctull/sources/qgis/src/core/raster/qgsrasterlayer.h:755:
> warning: unused parameter 'other'
> /Users/jctull/sources/qgis/src/core/raster/qgsrasterlayer.h:757:
> warning: unused parameter 'other'
> /Users/jctull/sources/qgis/src/core/qgscoordinatetransform.h:262:
> warning: unused parameter 'r'
> gmake[3]: *** [sipcorecmodule.o] Error 1
> make[2]: *** [python/core/core.so] Error 2
> make[1]: *** [python/CMakeFiles/python.dir/all] Error 2
> make: *** [all] Error 2
>
> Thanks,
> John
>
>
> John C. Tull, Ph.D.
> Post-doctoral Scholar
> MS-315 Department of Biology
> University of Nevada
> Reno, NV 89557
> 775-784-4804
> FAX 775-784-1369
>
>
>
--
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS
Home Page: http://linfiniti.com
Skype: timlinux
MSN: tim_bdworld at msn.com
Yahoo: tim_bdworld at yahoo.com
Jabber: timlinux
Irc: timlinux on #qgis at freenode.net
More information about the Qgis-developer
mailing list