Hi, I have problem building PySide Tools module with Python 2.7.2 32bit (shiboken, apiextractor, genrunner and pyside was compiled without errors), CMake prints following message until I don't stop the cmake process with ctrl+c: -- Using default python:
Full log: -- The C compiler identification is MSVC -- The CXX compiler identification is MSVC -- Check for CL compiler version -- Check for CL compiler version - 1500 -- Check if this is a free VC compiler -- Check if this is a free VC compiler - no -- Check for working C compiler: c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe -- Check for working C compiler: c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe -- Check for working CXX compiler: c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found PythonInterp: c:/Python26/python.exe -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not found. -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.7.4 (using c:/Qt/4.7.4/bin/qmake.exe) -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: -- Using default python: ^CTraceback (most recent call last): File "build.py", line 255, in <module> main() File "build.py", line 241, in main process_modules(options.build_module, options.download, modu File "build.py", line 74, in process_modules process_module(download, module, modules_dir, install_dir, q File "build.py", line 141, in process_module if run_process(*args) != 0: File "c:\Downloads\pyside-setuptools-1.0.8\utils.py", line 80, p.communicate() File "c:\Python26\lib\subprocess.py", line 688, in communicate self.wait() File "c:\Python26\lib\subprocess.py", line 883, in wait _subprocess.INFINITE) KeyboardInterrupt I'm not able to create windows packages until this error will be not resolved I will create bug report for this... Regards -Roman 2011/10/21 Hugo Parente Lima <hugo.l...@openbossa.org>: > On Friday 21 October 2011 08:36:44 Roman Lacko wrote: >> Hi, >> i'm getting following error, when compiling pyside 32bit on windows, >> with python 3 (shiboken was compiled without errors): > > Hi, > > This must be a inject-code used just on Windows, with remind-me that this > combination of PySide/Python3/Windows was completely forgot, maybe because our > Windows buildbot client is configured with Python2. > > Roman, better file a bug report and release a Windows/Python3 version just > when the bug gets fixed. > >> Scanning dependencies of target QtCore >> [ 3%] Building CXX object >> PySide/QtCore/CMakeFiles/QtCore.dir/PySide/QtCore/qabstracteventdispatcher_ >> wrapper.cpp.obj qabstracteventdispatcher_wrapper.cpp >> c:\downloads\pyside-setuptools-1.0.8\modules\pyside\build\pyside\qtcore\pys >> ide\qtcore\pyside_qtcore_python.h(3625) >> >> : error C3861: 'PyCObject_Check': identifier not found >> >> c:\downloads\pyside-setuptools-1.0.8\modules\pyside\build\pyside\qtcore\pys >> ide\qtcore\pyside_qtcore_python.h(3637) >> >> : error C3861: 'PyCObject_FromVoidPtr': identifier not found >> >> c:\downloads\pyside-setuptools-1.0.8\modules\pyside\build\pyside\qtcore\pys >> ide\qtcore\pyside_qtcore_python.h(3642) >> >> : error C3861: 'PyCObject_AsVoidPtr': identifier not found >> >> NMAKE : fatal error U1077: 'c:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe' : >> return code '0x2' >> Stop. >> NMAKE : fatal error U1077: '"c:\program files (x86)\microsoft visual >> studio 9.0\vc\bin\nmake.exe"' : return code '0x2' >> Stop. >> NMAKE : fatal error U1077: '"c:\program files (x86)\microsoft visual >> studio 9.0\vc\bin\nmake.exe"' : return code '0x2' >> Stop. >> >> Full Log: >> -- The C compiler identification is MSVC >> -- The CXX compiler identification is MSVC >> -- Check for CL compiler version >> -- Check for CL compiler version - 1500 >> -- Check if this is a free VC compiler >> -- Check if this is a free VC compiler - no >> -- Check for working C compiler: c:/Program Files (x86)/Microsoft >> Visual Studio 9.0/VC/bin/cl.exe >> -- Check for working C compiler: c:/Program Files (x86)/Microsoft >> Visual Studio 9.0/VC/bin/cl.exe -- works >> -- Detecting C compiler ABI info >> -- Detecting C compiler ABI info - done >> -- Check for working CXX compiler: c:/Program Files (x86)/Microsoft >> Visual Studio 9.0/VC/bin/cl.exe >> -- Check for working CXX compiler: c:/Program Files (x86)/Microsoft >> Visual Studio 9.0/VC/bin/cl.exe -- works >> -- Detecting CXX compiler ABI info >> -- Detecting CXX compiler ABI info - done >> -- libshiboken built for Release >> -- Looking for Q_WS_X11 >> -- Looking for Q_WS_X11 - not found. >> -- Looking for Q_WS_WIN >> -- Looking for Q_WS_WIN - found >> -- Looking for Q_WS_QWS >> -- Looking for Q_WS_QWS - not found. >> -- Looking for Q_WS_MAC >> -- Looking for Q_WS_MAC - not found. >> -- Found Qt4: c:/Qt/4.7.4/bin/qmake.exe (found suitable version >> "4.7.4", required is "4.5.0") >> -- Detected OS: win >> -- PySide will be generated avoiding the protected hack! >> -- Checking for QAbstractPageSetupDialog in QtGui -- found >> -- Checking for QAbstractPrintDialog in QtGui -- found >> -- Checking for QGtkStyle in QtGui -- not found >> -- Checking for QPageSetupDialog in QtGui -- found >> -- Checking for QPrintDialog in QtGui -- found >> -- Checking for QPrintEngine in QtGui -- found >> -- Checking for QPrintPreviewDialog in QtGui -- found >> -- Checking for QPrintPreviewWidget in QtGui -- found >> -- Checking for QPrinter in QtGui -- found >> -- Checking for QPrinterInfo in QtGui -- found >> -- Checking for QSessionManager in QtGui -- found >> -- Checking for QSizeGrip in QtGui -- found >> -- Checking for QSystemTrayIcon in QtGui -- found >> -- Checking for QMacStyle in QtGui -- not found >> -- Checking for QSslCertificate in QtNetwork -- found >> -- Checking for QSslCipher in QtNetwork -- found >> -- Checking for QSslConfiguration in QtNetwork -- found >> -- Checking for QSslError in QtNetwork -- found >> -- Checking for QSslKey in QtNetwork -- found >> -- Checking for QSslSocket in QtNetwork -- found >> -- Checking for VideoCaptureDevice in phonon -- not found >> -- QT_SRC_DIR variable not set or graphviz not found, apidoc >> generation targets disabled. >> -- Configuring done >> -- Generating done >> CMake Warning: >> Manually-specified variables were not used by the project: >> >> PYTHON3_EXECUTABLE >> PYTHON3_INCLUDE_DIR >> PYTHON3_LIBRARY >> >> >> -- Build files have been written to: >> C:/Downloads/pyside-setuptools-1.0.8/modules/PySide/build >> Compiling PySide... >> >> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 >> Copyright (C) Microsoft Corporation. All rights reserved. >> >> [ 0%] Generating moc_destroylistener.cxx >> Scanning dependencies of target pyside >> [ 0%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/dynamicqmetaobject.cpp.obj >> dynamicqmetaobject.cpp >> [ 0%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/destroylistener.cpp.obj >> destroylistener.cpp >> [ 0%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/signalmanager.cpp.obj signalmanager.cpp >> [ 0%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/globalreceiver.cpp.obj >> globalreceiver.cpp >> [ 0%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/globalreceiverv2.cpp.obj >> globalreceiverv2.cpp >> [ 1%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/pysideclassinfo.cpp.obj >> pysideclassinfo.cpp >> [ 1%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/pysidemetafunction.cpp.obj >> pysidemetafunction.cpp >> [ 1%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/pysidesignal.cpp.obj pysidesignal.cpp >> [ 1%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/pysideslot.cpp.obj pysideslot.cpp >> [ 1%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/pysideproperty.cpp.obj >> pysideproperty.cpp >> [ 1%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/pysideqflags.cpp.obj pysideqflags.cpp >> [ 1%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/pysideweakref.cpp.obj pysideweakref.cpp >> [ 1%] Building CXX object libpyside/CMakeFiles/pyside.dir/pyside.cpp.obj >> pyside.cpp >> [ 2%] Building CXX object >> libpyside/CMakeFiles/pyside.dir/moc_destroylistener.cxx.obj >> moc_destroylistener.cxx >> Linking CXX shared library pyside.dll >> Creating library pyside.lib and object pyside.exp >> [ 2%] Built target pyside >> [ 2%] Generating moc_customwidget.cxx >> [ 3%] Generating moc_customwidgets.cxx >> Scanning dependencies of target uiplugin >> [ 3%] Building CXX object >> plugins/CMakeFiles/uiplugin.dir/customwidgets.cpp.obj cl : Command line >> warning D9002 : ignoring unknown option '-fPIC' >> customwidgets.cpp >> [ 3%] Building CXX object >> plugins/CMakeFiles/uiplugin.dir/customwidget.cpp.obj cl : Command line >> warning D9002 : ignoring unknown option '-fPIC' >> customwidget.cpp >> [ 3%] Building CXX object >> plugins/CMakeFiles/uiplugin.dir/moc_customwidget.cxx.obj >> cl : Command line warning D9002 : ignoring unknown option '-fPIC' >> moc_customwidget.cxx >> [ 3%] Building CXX object >> plugins/CMakeFiles/uiplugin.dir/moc_customwidgets.cxx.obj >> cl : Command line warning D9002 : ignoring unknown option '-fPIC' >> moc_customwidgets.cxx >> Linking CXX static library uiplugin.lib >> [ 3%] Built target uiplugin >> [ 3%] Running generator for QtCore... >> Generating class model... [OK] >> Generating enum model... [WARNING] >> enum 'SP_CustomTabVideos' does not have a type entry or is not an >> enum >> >> >> Generating namespace model... [OK] >> Resolving typedefs... [OK] >> Fixing class inheritance... [WARNING] >> skipping field 'MSG::wParam' with unmatched type 'unsigned' >> skipping field 'MSG::message' with unmatched type 'unsigned' >> >> >> Detecting inconsistencies in class model... [OK] >> [OK] >> >> signature 'operator+=(QVector)' for function modification in >> 'QXmlStreamAttributes' not found. Possible candidates: >> operator+=(QVector<QXmlStreamAttribute>) in QXmlStrea >> signature 'mimeData(QModelIndexList)const' for function >> modification in 'QAbstractItemModel' not found. Possible candidates: >> mimeData(QList<QModelIndex>)const in QAbstra >> >> >> Done, 5 warnings (292 known issues) >> Scanning dependencies of target QtCore >> [ 3%] Building CXX object >> PySide/QtCore/CMakeFiles/QtCore.dir/PySide/QtCore/qabstracteventdispatcher_ >> wrapper.cpp.obj qabstracteventdispatcher_wrapper.cpp >> c:\downloads\pyside-setuptools-1.0.8\modules\pyside\build\pyside\qtcore\pys >> ide\qtcore\pyside_qtcore_python.h(3625) >> >> : error C3861: 'PyCObject_Check': identifier not found >> >> c:\downloads\pyside-setuptools-1.0.8\modules\pyside\build\pyside\qtcore\pys >> ide\qtcore\pyside_qtcore_python.h(3637) >> >> : error C3861: 'PyCObject_FromVoidPtr': identifier not found >> >> c:\downloads\pyside-setuptools-1.0.8\modules\pyside\build\pyside\qtcore\pys >> ide\qtcore\pyside_qtcore_python.h(3642) >> >> : error C3861: 'PyCObject_AsVoidPtr': identifier not found >> >> NMAKE : fatal error U1077: 'c:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe' : >> return code '0x2' >> Stop. >> NMAKE : fatal error U1077: '"c:\program files (x86)\microsoft visual >> studio 9.0\vc\bin\nmake.exe"' : return code '0x2' >> Stop. >> NMAKE : fatal error U1077: '"c:\program files (x86)\microsoft visual >> studio 9.0\vc\bin\nmake.exe"' : return code '0x2' >> Stop. >> >> Regards >> -Roman >> _______________________________________________ >> PySide mailing list >> PySide@lists.pyside.org >> http://lists.pyside.org/listinfo/pyside > > -- > Hugo Parente Lima > INdT - Instituto Nokia de Tecnologia > _______________________________________________ PySide mailing list PySide@lists.pyside.org http://lists.pyside.org/listinfo/pyside