Hi, I have a similar problem (on Mac OS X) (see my mails from a few days before). Delete the cache-file and add the three variables from the cache file (EXECUTABLE...INCLUDEDIR...LIBRARY...) to your cmake call. This should work (but I got another problem then which I haven’t solved yet ;-)).
Cheers, Stefan Am 2010-09-29 um 15:49 schrieb Lacko Roman: > Hi, > > I have both python 2.6 and 2.7 installed on my system, windows xp. > I want to compile the binaries with Python 2.7. > I specified the reguired version with cmake flag > -DCMAKE_USE_PYTHON_VERSION=2.7 > But cmake allways compiles binaries with python 2.6. > > The generated cmake file pyside\build\CMakeCache.txt contains this: > > ... > //No help, variable specified on the command line. > CMAKE_USE_PYTHON_VERSION:UNINITIALIZED=2.7 > ... > //Path to a library. > PYTHON_DEBUG_LIBRARY:FILEPATH=PYTHON_DEBUG_LIBRARY-NOTFOUND > > //Path to a program. > PYTHON_EXECUTABLE:FILEPATH=C:/Python26/python.exe > > //Path to a file. > PYTHON_INCLUDE_DIR:PATH=C:/Python26/include > > //Path to a library. > PYTHON_LIBRARY:FILEPATH=C:/Python26/libs/python26.lib > ... > > R. > > _______________________________________________ > PySide mailing list > [email protected] > http://lists.openbossa.org/listinfo/pyside _______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
