Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.0.0 RC 2
-
None
-
qt-windows-opensource-5.0.0-msvc2010_32-x86-offline-2012-12-18-388.exe
Windows 7
Description
Open "Hello GL Example" from Qt Creator.
Press Ctrl+R (Run)
It tries to compile, and fails because of missing refs to gl functions.
15:27:01: Running steps for project hellogl... 15:27:01: Configuration unchanged, skipping qmake step. 15:27:01: Starting: "T:\packages\qt-5.0.0-rc-388\Tools\QtCreator\bin\jom.exe" T:\packages\qt-5.0.0-rc-388\Tools\QtCreator\bin\jom.exe -f Makefile.Debug cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\shared" -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"..\..\..\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\jasaethe\AppData\Local\Temp\glwidget.obj.11248.16.jom glwidget.cpp cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\shared" -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"..\..\..\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\jasaethe\AppData\Local\Temp\qtlogo.obj.11248.16.jom qtlogo.cpp ..\shared\qtlogo.cpp(104) : error C3861: 'glVertexPointer': identifier not found ..\shared\qtlogo.cpp(105) : error C3861: 'glNormalPointer': identifier not found ..\shared\qtlogo.cpp(179) : error C3861: 'glPushMatrix': identifier not found ..\shared\qtlogo.cpp(180) : error C3861: 'glMultMatrixf': identifier not found ..\shared\qtlogo.cpp(181) : error C2065: 'GL_AMBIENT_AND_DIFFUSE' : undeclared identifier ..\shared\qtlogo.cpp(181) : error C3861: 'glMaterialfv': identifier not found ..\shared\qtlogo.cpp(185) : error C3861: 'glPopMatrix': identifier not found ..\shared\qtlogo.cpp(384) : error C2065: 'GL_VERTEX_ARRAY' : undeclared identifier ..\shared\qtlogo.cpp(384) : error C3861: 'glEnableClientState': identifier not found ..\shared\qtlogo.cpp(385) : error C2065: 'GL_NORMAL_ARRAY' : undeclared identifier ..\shared\qtlogo.cpp(385) : error C3861: 'glEnableClientState': identifier not found ..\shared\qtlogo.cpp(390) : error C2065: 'GL_VERTEX_ARRAY' : undeclared identifier ..\shared\qtlogo.cpp(390) : error C3861: 'glDisableClientState': identifier not found ..\shared\qtlogo.cpp(391) : error C2065: 'GL_NORMAL_ARRAY' : undeclared identifier ..\shared\qtlogo.cpp(391) : error C3861: 'glDisableClientState': identifier not found ..\hellogl\glwidget.cpp(138) : error C2065: 'GL_SMOOTH' : undeclared identifier ..\hellogl\glwidget.cpp(138) : error C3861: 'glShadeModel': identifier not found ..\hellogl\glwidget.cpp(139) : error C2065: 'GL_LIGHTING' : undeclared identifier ..\hellogl\glwidget.cpp(140) : error C2065: 'GL_LIGHT0' : undeclared identifier ..\hellogl\glwidget.cpp(143) : error C2065: 'GL_LIGHT0' : undeclared identifier ..\hellogl\glwidget.cpp(143) : error C2065: 'GL_POSITION' : undeclared identifier ..\hellogl\glwidget.cpp(143) : error C3861: 'glLightfv': identifier not found ..\hellogl\glwidget.cpp(151) : error C3861: 'glLoadIdentity': identifier not found ..\hellogl\glwidget.cpp(152) : error C3861: 'glTranslatef': identifier not found ..\hellogl\glwidget.cpp(153) : error C3861: 'glRotatef': identifier not found ..\hellogl\glwidget.cpp(154) : error C3861: 'glRotatef': identifier not found ..\hellogl\glwidget.cpp(155) : error C3861: 'glRotatef': identifier not found ..\hellogl\glwidget.cpp(166) : error C2065: 'GL_PROJECTION' : undeclared identifier ..\hellogl\glwidget.cpp(166) : error C3861: 'glMatrixMode': identifier not found ..\hellogl\glwidget.cpp(167) : error C3861: 'glLoadIdentity': identifier not found ..\hellogl\glwidget.cpp(171) : error C3861: 'glOrtho': identifier not found ..\hellogl\glwidget.cpp(173) : error C2065: 'GL_MODELVIEW' : undeclared identifier ..\hellogl\glwidget.cpp(173) : error C3861: 'glMatrixMode': identifier not found jom: T:\packages\qt-5.0.0-rc-388\5.0.0\msvc2010\examples\opengl\hellogl-build-Desktop_Qt_5_0_0_MSVC2010_32bit_SDK-Debug\Makefile.Debug [debug\glwidget.obj] Error 2 jom: T:\packages\qt-5.0.0-rc-388\5.0.0\msvc2010\examples\opengl\hellogl-build-Desktop_Qt_5_0_0_MSVC2010_32bit_SDK-Debug\Makefile.Debug [debug\qtlogo.obj] Error 2 jom: T:\packages\qt-5.0.0-rc-388\5.0.0\msvc2010\examples\opengl\hellogl-build-Desktop_Qt_5_0_0_MSVC2010_32bit_SDK-Debug\Makefile [debug] Error 2 15:27:03: The process "T:\packages\qt-5.0.0-rc-388\Tools\QtCreator\bin\jom.exe" exited with code 2. Error while building/deploying project hellogl (kit: Desktop Qt 5.0.0 MSVC2010 32bit (SDK)) When executing step 'Make'
Attachments
Issue Links
- relates to
-
QTBUG-28715 Windows builds should ship a standard Open GL build [ -opengl desktop ]
- Closed