1

I was able to customize a few features of QGIS in Ubuntu. Now I am trying to compile the same code on Windows, by following the installation guide given for Windows. I have downloaded all of the dependencies using OsGeo4W and struck at SIP. I tried setting environment variables to point to sip site-pacakges too ( C:\OSGeo4W\apps\Python27\lib\site-packages ) I am using visual studio compiler libraries.

Here is the cmake trace

QGIS version: 1.8.0 Lisboa (10800)
Could not find GRASS
Touch support disabled
Found Proj: C:/OSGeo4W/bin/proj.dll
Found GEOS: C:/OSGeo4W/bin/geos_c.dll
Found GDAL: C:/OSGeo4W/bin/gdal18.dll (1.9.2)
Found Spatialindex: C:/OSGeo4W/bin/spatialindex1.dll
Found Qwt: C:/OSGeo4W/bin/qwt5.dll (5.2.1)
Found Sqlite3: C:/OSGeo4W/bin/sqlite3.dll
Found PostgreSQL: C:/OSGeo4W/lib/libpq.lib
Found SpatiaLite: C:/OSGeo4W/bin/spatialite.dll
Pedantic compiler settings enabled
Found Python executable: C:/Python27/python.exe
Found Python version: 2.7
Found Python library: C:/Python27/libs/python27.lib
CMake Error at cmake/FindSIP.cmake:54 (MESSAGE):
 Could not find SIP
Call Stack (most recent call first):
 CMakeLists.txt:476 (FIND_PACKAGE)
Configuring incomplete, errors occurred!
PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Mar 20, 2013 at 9:49

1 Answer 1

3

Try using the python shipped with OSGeo4W. You might find the cmake call in ms-windows/osgeo4w/package.cmd useful - it contains all the options used for the OSGeo4W qgis build.

answered Mar 21, 2013 at 8:15

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.