[PyQt] Problems building PyQGLVIewer

Jamie Riotto jamie.riotto at gmail.com
Tue Sep 1 23:18:28 BST 2009


I'm trying to use PyQGLViewer on top of PyQt. I'm using Win XP with
Visual Studio 2008 C++ and have installed:

Python-2.5.4.msi
QT Opensourse 4.5.2
SIP-4.9-snapshot-20090821
QScintilla-gpl-2.4.1-snapshot-20090819
PyQt-win-gpl-4.5.4
libQGLViewer-2.3.3

All examples work in Qt, PyQt and LibQGLViewer.

However, when I download PyQGLVIewer-0.7.zip
and try
python configure.py
nmake

I get the following error:

	cd build
	"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"
	cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W3 -w34100 -w34189
-DNDEBUG -DWIN32 -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL
-DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_GUI_LIB
-I. -IC:\Python25\Lib\site-packages\libQGLViewer-2.3.4
-Ic:\python25\include -IC:\Qt\4.5.2-msvc2008\mkspecs\default
-IC:\Qt\4.5.2-msvc2008\include\QtOpenGL
-IC:\Qt\4.5.2-msvc2008\include\QtXml
-IC:\Qt\4.5.2-msvc2008\include\QtCore
-IC:\Qt\4.5.2-msvc2008\include\QtGui -IC:\Qt\4.5.2-msvc2008\include
-Fo @C:\DOCUME~1\JAMIE~1.TRE\LOCALS~1\Temp\nmE4A.tmp
sipPyQGLViewercmodule.cpp
C:\Python25\Lib\site-packages\libQGLViewer-2.3.4\QGLViewer/domUtils.h(25)
: fatal error C1083: Cannot open include file: 'QGlobal': No such file
or directory
sipPyQGLViewerDomUtils.cpp
C:\Python25\Lib\site-packages\libQGLViewer-2.3.4\QGLViewer/domUtils.h(25)
: fatal error C1083: Cannot open include file: 'QGlobal': No such file
or directory
Generating Code...



Interestingly, I get exactly the same message when I follow all the
above steps with Python 2.6.2...

Any ideas? Thanks very much - Jamie Riotto


More information about the PyQt mailing list