[Qgis-developer] CMake Trunk OSX: SIP error

Tim Sutton tim at linfiniti.com
Mon Feb 5 04:11:19 EST 2007


Hi Martin

When building SIP bindings for core GEOS frameworks arent being added
to the include path and so I think the build is failing when geos.h
etc are not found.

See below.

There doesnt seem to be a CMakeList.txt in python/core - where are the
requirements for SIP set? I looked in python/CMakeList.txt but couldnt
work out where geos find should be added.

Regards

Tim


[ 66%] Generating core/core.so
cd /Users/tim/dev/cpp/qgis/build/python/core && /usr/bin/make
c++ -c -DCORE_EXPORT= -pipe -fPIC -Os -Wall -W -DQT_NO_DEBUG
-DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB
-I. -I/Users/tim/dev/cpp/qgis/src/core
-I/Users/tim/dev/cpp/qgis/src/core/raster
-I/Users/tim/dev/cpp/qgis/src/core/renderer
-I/Users/tim/dev/cpp/qgis/src/core/spatialindex
-I/Users/tim/dev/cpp/qgis/src/core/symbology
-I/Users/tim/dev/cpp/qgis/build
-I/Library/Frameworks/GDAL.framework/unix/include
-I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3
-I/usr/local/Qt4.2/mkspecs/default
-I/Library/Frameworks/QtCore.framework/Headers
-I/Library/Frameworks/QtGui.framework/Headers
-I/Library/Frameworks/QtNetwork.framework/Headers
-I/Library/Frameworks/QtSql.framework/Headers
-I/Library/Frameworks/QtSvg.framework/Headers
-I/Library/Frameworks/QtXml.framework/Headers
-I/Library/Frameworks/Qt3Support.framework/Headers -I/usr/include
-F/Users/tim/dev/cpp/qgis/build/src/core -F/Library/Frameworks -o
sipcorecmodule.o sipcorecmodule.cpp
In file included from /Users/tim/dev/cpp/qgis/python/core/qgsgeometry.sip:172,
                 from sipcorecmodule.cpp:39:
/Users/tim/dev/cpp/qgis/src/core/qgsgeometry.h:25:18: error: geos.h:
No such file or directory
/Users/tim/dev/cpp/qgis/src/core/qgsdataprovider.h:124: warning:
unused parameter 'subset'
/Users/tim/dev/cpp/qgis/src/core/qgsdataprovider.h:181: warning:
unused parameter 'layers'
/Users/tim/dev/cpp/qgis/src/core/qgsdataprovider.h:190: warning:
unused parameter 'name'
/Users/tim/dev/cpp/qgis/src/core/qgsdataprovider.h:190: warning:
unused parameter 'vis'
/Users/tim/dev/cpp/qgis/src/core/renderer/qgsrenderer.h:49: warning:
unused parameter 'f'
/Users/tim/dev/cpp/qgis/src/core/qgsrasterdataprovider.h:91: warning:
unused parameter 'host'
/Users/tim/dev/cpp/qgis/src/core/qgsrasterdataprovider.h:91: warning:
unused parameter 'port'
/Users/tim/dev/cpp/qgis/src/core/qgsrasterdataprovider.h:91: warning:
unused parameter 'user'
/Users/tim/dev/cpp/qgis/src/core/qgsrasterdataprovider.h:91: warning:
unused parameter 'pass'
/Users/tim/dev/cpp/qgis/src/core/raster/qgsrasterlayer.h:755: warning:
unused parameter 'other'
/Users/tim/dev/cpp/qgis/src/core/raster/qgsrasterlayer.h:757: warning:
unused parameter 'other'
/Users/tim/dev/cpp/qgis/src/core/qgscoordinatetransform.h:262:
warning: unused parameter 'r'
make[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
tims-computer:~/dev/cpp/qgis/build tim$


-- 
-- 
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