So after much trial and error and frustration, I added an include statement in
the pyside_globals.h and now PySide compiles without errors. So, how is anyone
currently able to compile PySide 1.1.0 with OpenGL without this?
----- Forwarded Message -----
From: Ron Bublitz <rbubl...@yahoo.com>
To: "pyside@lists.pyside.org" <pyside@lists.pyside.org>
Sent: Sunday, January 15, 2012 12:34 PM
Subject: qgl_wrapper.cpp not found
I'm trying to compile the latest PySide 1.1.0. I'm using Python2.6, Visual
Studio 2008 Pro, Windows 7 64 bit, Qt 4.7.4. I keep getting a PySide compile
error:
Done, 25 warnings (943 known issues)
[ 85%] Building CXX object
PySide/QtOpenGL/CMakeFiles/QtOpenGL.dir/PySide/QtOpenGL/qgl_wrapper.cpp.obj
qgl_wrapper.cpp
c1xx : fatal error C1083: Cannot open source file:
'C:\packaging\setuptools\modules\PySide\build\PySide\QtOpenGL\PySide\QtOpenGL\qgl_wrapper.cpp':
No such file
or directory
NMAKE : fatal error U1077: 'c:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe' :
return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\program files (x86)\microsoft visual studio
9.0\vc\bin\amd64\nmake.exe"' : return code
'0x2'
Stop.
NMAKE : fatal error U1077: '"c:\program files (x86)\microsoft visual studio
9.0\vc\bin\amd64\nmake.exe"' : return code '0x2'
Stop.
Traceback (most recent call last):
File "build.py", line 241, in main process_modules(options.build_module,
options.download, modules[options.pyside_version], modules_dir, install_dir,
qtinfo, py_include_dir, py_library)
File "build.py", line 74, in process_modules process_module(download,
module, modules_dir, install_dir, qtinfo, py_include_dir, py_library)
File "build.py", line 146, in process_module
raise Exception("Error compiling " + module_name)
Exception: Error compiling PySide
None
I've tried compiling Qt4.7.4 with both -opengl desktop and -no-opengl. Each
time it is the same error with PySide. Can anyone tell me what the issue is?
Thanks.
_______________________________________________
PySide mailing list
PySide@lists.pyside.org
http://lists.pyside.org/listinfo/pyside