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

G. Allegri giohappy at gmail.com
Fri Mar 27 20:09:27 EDT 2009

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?


More information about the osgeo4w-dev mailing list