[PyQt] pyqtdeploy error static build PyQt5.4

MOHAMED BLACK bl3a3ck at gmail.com
Mon Dec 29 16:38:22 GMT 2014


hi
i have some error when followed the static build instruction from pyqtdeploy

1- build static python with :
      pyqtdeploycli --package python --target win-32 configure
      qmake SYSROOT=c:\PyStatic
      qmake
      nmake install

2- build static sip with :
      pyqtdeploycli --package sip --target win-32 configure
      configure.py --static --sysroot=c:\PyStatic --no-tools --use-qmake
--configuration=sip-win.cfg
      qmake
      nmake install

3- build static PyQt5.4 with :
      pyqtdeploycli --package pyqt5 --target win-32 configure
      configure.py --static --sysroot=c:\PyStatic --no-tools --no-qsci-api
--no-designer-plugin --no-qml-plugin --configuration=pyqt5-win.cfg
      nmake install


minimal error log attached

windows Xp SP3
VC 2010 SP1
Qt 5.4
python 3.4.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20141229/90d50dc8/attachment-0001.html>
-------------- next part --------------
	cd _QOpenGLFunctions_ES2\ && ( if not exist Makefile C:\Qt\Qt5.4.0\5.4\msvc2010_opengl\bin\qmake.exe C:\py3.4\pyqtdeploy\Src\PyQt-gpl-5.4\_QOpenGLFunctions_ES2\_QOpenGLFunctions_ES2.pro -o Makefile ) && "C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f Makefile
	"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f Makefile.Release
	cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -W3 -w34100 -w34189 -GR -EHsc -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -I"." -I"C:\PyStatic\include\python3.4" -I"C:\Qt\Qt5.4.0\5.4\msvc2010_opengl\include" -I"C:\Qt\Qt5.4.0\5.4\msvc2010_opengl\include\QtGui" -I"C:\Qt\Qt5.4.0\5.4\msvc2010_opengl\include\QtCore" -I"release" -I"C:\Qt\Qt5.4.0\5.4\msvc2010_opengl\mkspecs\win32-msvc2010" -Forelease\ @C:\DOCUME~1\BH\LOCALS~1\Temp\nm52.tmp
sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(40) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(40) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(42) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(46) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(46) : error C2227: left of '->initializeOpenGLFunctions' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(68) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(68) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(70) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(72) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(72) : error C2227: left of '->glActiveTexture' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(96) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(96) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(98) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(100) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(100) : error C2227: left of '->glAttachShader' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(126) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(126) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(128) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(130) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(130) : error C2227: left of '->glBindAttribLocation' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(155) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(155) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(157) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(159) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(159) : error C2227: left of '->glBindBuffer' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(183) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(183) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(185) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(187) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(187) : error C2227: left of '->glBindFramebuffer' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(211) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(211) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(213) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(215) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(215) : error C2227: left of '->glBindRenderbuffer' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(239) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(239) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(241) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(243) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(243) : error C2227: left of '->glBindTexture' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(269) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(269) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(271) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(273) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(273) : error C2227: left of '->glBlendColor' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(296) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(296) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(298) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(300) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(300) : error C2227: left of '->glBlendEquation' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(324) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(324) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(326) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(328) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(328) : error C2227: left of '->glBlendEquationSeparate' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(352) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(352) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(354) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(356) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(356) : error C2227: left of '->glBlendFunc' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(382) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(382) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(384) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(386) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(386) : error C2227: left of '->glBlendFuncSeparate' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(412) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(412) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(414) : error C2065: 'sipCpp' : undeclared identifier
C:\py3.4\pyqtdeploy\Src\PyQt-gpl-5.4\sip/_QOpenGLFunctions_ES2/qopenglfunctions_es2.sip(56) : error C2065: 'sipCpp' : undeclared identifier
C:\py3.4\pyqtdeploy\Src\PyQt-gpl-5.4\sip/_QOpenGLFunctions_ES2/qopenglfunctions_es2.sip(56) : error C2227: left of '->glBufferData' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(462) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(462) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(464) : error C2065: 'sipCpp' : undeclared identifier
C:\py3.4\pyqtdeploy\Src\PyQt-gpl-5.4\sip/_QOpenGLFunctions_ES2/qopenglfunctions_es2.sip(69) : error C2065: 'sipCpp' : undeclared identifier
C:\py3.4\pyqtdeploy\Src\PyQt-gpl-5.4\sip/_QOpenGLFunctions_ES2/qopenglfunctions_es2.sip(69) : error C2227: left of '->glBufferSubData' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(509) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(509) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(511) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(515) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(515) : error C2227: left of '->glCheckFramebufferStatus' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(537) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(537) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(539) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(541) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(541) : error C2227: left of '->glClear' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(567) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(567) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(569) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(571) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(571) : error C2227: left of '->glClearColor' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(594) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(594) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(596) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(598) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(598) : error C2227: left of '->glClearDepthf' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(621) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(621) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(623) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(625) : error C2065: 'sipCpp' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(625) : error C2227: left of '->glClearStencil' must point to class/struct/union/generic type
        type is ''unknown-type''
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(651) : error C2065: 'QOpenGLFunctions_ES2' : undeclared identifier
.\sip_QOpenGLFunctions_ES2QOpenGLFunctions_ES2.cpp(651) : fatal error C1003: error count exceeds 100; stopping compilation


More information about the PyQt mailing list