Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33882

error C3861: 'glDeleteLists': identifier not found when building OpenGL Example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • 5.2.0 Alpha
    • ActiveX Support
    • None
    • Windows 7 32bit VS2010

    Description

      PACKAGE VERSION:
      from 2013-10-01

      STEPS:
      1. Download the installer package.
      2. Install the Qt 5.2 Alpha package.
      3. Run Qt Creator.
      4. Go to the Examples screen.
      5. Find, build and run OpenGL Example (ActiveQt).

      ACTUAL RESULT:
      ====================================
      12:20:08: Running steps for project opengl...
      12:20:08: Configuration unchanged, skipping qmake step.
      12:20:08: Starting: "C:\Qt\Qt5.2.0_Alpha_34\Tools\QtCreator\bin\jom.exe"
      C:\Qt\Qt5.2.0_Alpha_34\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
      cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W0 -GR -EHsc -DUNICODE -DWIN32 -DQT_AXSERVER_LIB -DQAXSERVER -DQT_OPENGL_LIB -DQT_AXBASE_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\ActiveQt" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtANGLE" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"..\..\..\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\qa\AppData\Local\Temp\glbox.obj.4580.78.jom
      glbox.cpp
      rc -D_DEBUG -DUNICODE -DWIN32 -DQT_AXSERVER_LIB -DQAXSERVER -DQT_OPENGL_LIB -DQT_AXBASE_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -fo debug\opengl.res ..\opengl\opengl.rc
      Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385

      Copyright (C) Microsoft Corporation. All rights reserved.

      C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\bin\moc.exe -DUNICODE -DWIN32 -DQT_AXSERVER_LIB -DQAXSERVER -DQT_OPENGL_LIB -DQT_AXBASE_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -D_MSC_VER=1600 -D_WIN32 -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\ActiveQt" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtANGLE" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"..\..\..\mkspecs\win32-msvc2010" ..\opengl\globjwin.h -o debug\moc_globjwin.cpp
      cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W0 -GR -EHsc -DUNICODE -DWIN32 -DQT_AXSERVER_LIB -DQAXSERVER -DQT_OPENGL_LIB -DQT_AXBASE_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\ActiveQt" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtANGLE" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"..\..\..\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\qa\AppData\Local\Temp\moc_globjwin.obj.4580.781.jom
      moc_globjwin.cpp
      C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\bin\moc.exe -DUNICODE -DWIN32 -DQT_AXSERVER_LIB -DQAXSERVER -DQT_OPENGL_LIB -DQT_AXBASE_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -D_MSC_VER=1600 -D_WIN32 -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\ActiveQt" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtANGLE" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"..\..\..\mkspecs\win32-msvc2010" ..\opengl\glbox.h -o debug\moc_glbox.cpp
      ..\opengl\glbox.cpp(81) : error C3861: 'glDeleteLists': identifier not found
      ..\opengl\glbox.cpp(94) : error C3861: 'glLoadIdentity': identifier not found
      ..\opengl\glbox.cpp(95) : error C3861: 'glTranslatef': identifier not found
      ..\opengl\glbox.cpp(96) : error C3861: 'glScalef': identifier not found
      ..\opengl\glbox.cpp(98) : error C3861: 'glRotatef': identifier not found
      ..\opengl\glbox.cpp(99) : error C3861: 'glRotatef': identifier not found
      ..\opengl\glbox.cpp(100) : error C3861: 'glRotatef': identifier not found
      ..\opengl\glbox.cpp(102) : error C3861: 'glCallList': identifier not found
      ..\opengl\glbox.cpp(114) : error C2065: 'GL_FLAT' : undeclared identifier
      ..\opengl\glbox.cpp(114) : error C3861: 'glShadeModel': identifier not found
      ..\opengl\glbox.cpp(126) : error C2065: 'GL_PROJECTION' : undeclared identifier
      ..\opengl\glbox.cpp(126) : error C3861: 'glMatrixMode': identifier not found
      ..\opengl\glbox.cpp(127) : error C3861: 'glLoadIdentity': identifier not found
      ..\opengl\glbox.cpp(128) : error C3861: 'glFrustum': identifier not found
      ..\opengl\glbox.cpp(129) : error C2065: 'GL_MODELVIEW' : undeclared identifier
      ..\opengl\glbox.cpp(129) : error C3861: 'glMatrixMode': identifier not found
      ..\opengl\glbox.cpp(141) : error C3861: 'glGenLists': identifier not found
      ..\opengl\glbox.cpp(143) : error C2065: 'GL_COMPILE' : undeclared identifier
      ..\opengl\glbox.cpp(143) : error C3861: 'glNewList': identifier not found
      ..\opengl\glbox.cpp(149) : error C3861: 'glBegin': identifier not found
      ..\opengl\glbox.cpp(150) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(151) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(152) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(153) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(154) : error C3861: 'glEnd': identifier not found
      ..\opengl\glbox.cpp(156) : error C3861: 'glBegin': identifier not found
      ..\opengl\glbox.cpp(157) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(158) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(159) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(160) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(161) : error C3861: 'glEnd': identifier not found
      ..\opengl\glbox.cpp(163) : error C3861: 'glBegin': identifier not found
      ..\opengl\glbox.cpp(164) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(164) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(165) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(165) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(166) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(166) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(167) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(167) : error C3861: 'glVertex3f': identifier not found
      ..\opengl\glbox.cpp(168) : error C3861: 'glEnd': identifier not found
      ..\opengl\glbox.cpp(170) : error C3861: 'glEndList': identifier not found
      jom: C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\activeqt\build-opengl-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\Makefile.Debug [debug\glbox.obj] Error 2
      cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W0 -GR -EHsc -DUNICODE -DWIN32 -DQT_AXSERVER_LIB -DQAXSERVER -DQT_OPENGL_LIB -DQT_AXBASE_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\ActiveQt" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtANGLE" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"..\..\..\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\qa\AppData\Local\Temp\globjwin.obj.4580.94.jom
      globjwin.cpp
      cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W0 -GR -EHsc -DUNICODE -DWIN32 -DQT_AXSERVER_LIB -DQAXSERVER -DQT_OPENGL_LIB -DQT_AXBASE_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\ActiveQt" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtANGLE" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"..\..\..\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\qa\AppData\Local\Temp\main.obj.4580.94.jom
      main.cpp
      cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W0 -GR -EHsc -DUNICODE -DWIN32 -DQT_AXSERVER_LIB -DQAXSERVER -DQT_OPENGL_LIB -DQT_AXBASE_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\ActiveQt" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtANGLE" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"..\..\..\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\qa\AppData\Local\Temp\moc_glbox.obj.4580.2859.jom
      moc_glbox.cpp
      jom: C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\activeqt\build-opengl-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\Makefile [debug] Error 2
      12:20:15: The process "C:\Qt\Qt5.2.0_Alpha_34\Tools\QtCreator\bin\jom.exe" exited with code 2.
      Error while building/deploying project opengl (kit: Desktop Qt 5.2.0 MSVC2010 32bit)
      When executing step 'Make'
      12:20:15: Elapsed time: 00:07.
      ====================================

      EXPECTED RESULT:
      The example should be built and run.

      Attachments

        Issue Links

          Activity

            People

              kleint Friedemann Kleint
              rafal Rafal Motyka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: