[Qgis-developer] cannot build qgis with python inside osgeo4w: python isn't detected

Tim Sutton lists at linfiniti.com
Sat Mar 28 08:11:04 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

G. Allegri wrote:
> I'm on the way to finish my build of qgis_unstable with osgeo4w, but
> I'm blocked because of python bindings. Even if I set all the
> requestes tags in cmakesetup (ie
> PYTHON_EXECUTABLE:FILEPATH=C:/OSGeo4W/bin/python.exe), cmake says it
> cannot build it. I premit that I've downloaded all the required deps
> with osgeo4w setup.
> 
> Cmake can find Python if enable my registry keys about my system
> Python25. I had disabled them because cmake detected them, and put the
> paths (like C:\Python25) in the related makefiles. The consequence
> were errors, because it tried to build the undetected core.pyd,
> gui.pyd, in that path...
> 
> So the question is: why cmake shouldn't/couldn't use the paths I set
> with cmakesetup?
> 
> Giovanni
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 

One other thing to check is that you have run the osgeo shell
environment bat script before running cmakesetup.

Regards

Tim



- --

Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknOE9IACgkQqk07qZdiYjde6QCfcy4N9olT3phNZSrl4t6hhhvF
Y/4An3D4wQ9nmSAD9NcO3DsG/vClk2zV
=FGxE
-----END PGP SIGNATURE-----


More information about the Qgis-developer mailing list