Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. build qt 5.5.0 with msvc2013
Qt 6.11 is out! See what's new in the release blog

build qt 5.5.0 with msvc2013

Scheduled Pinned Locked Moved Solved Installation and Deployment
4 Posts 3 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Shidharth
    wrote on last edited by
    #1

    Hi I'm new to qt and I have been trying to build and compile QT with no luck. the last configure I have used looks like

    configure -debug-and-release -opensource -platform -opengl desktop win32-msvc2010

    ..\jom\jom.exe

    but it throws errors such as,kernel\qopenglcontext.cpp(364) : error C2065: 'GL_PROXY_TEXTURE_2D' : undeclared
    identifier
    kernel\qopenglcontext.cpp(370) : error C2065: 'QOpenGLFunctions_1_0' : undeclare
    d identifier
    kernel\qopenglcontext.cpp(370) : error C2065: 'gl1funcs' : undeclared identifier

    kernel\qopenglcontext.cpp(371) : error C2065: 'QOpenGLFunctions_3_2_Core' : unde
    clared identifier
    kernel\qopenglcontext.cpp(371) : error C2065: 'gl3funcs' : undeclared identifier

    kernel\qopenglcontext.cpp(374) : error C2065: 'gl3funcs' : undeclared identifier

    kernel\qopenglcontext.cpp(374) : error C2065: 'QOpenGLFunctions_3_2_Core' : unde
    clared identifier
    kernel\qopenglcontext.cpp(374) : error C2974: 'QOpenGLContext::versionFunctions'
    : invalid template argument for 'TYPE', type expected
    c:\qt\5.5\qtbase\include\qtgui../../src/gui/kernel/qopenglcontext.h(181
    ) : see declaration of 'QOpenGLContext::versionFunctions'
    kernel\qopenglcontext.cpp(376) : error C2065: 'gl1funcs' : undeclared identifier

    kernel\qopenglcontext.cpp(376) : error C2065: 'QOpenGLFunctions_1_0' : undeclare
    d identifier
    kernel\qopenglcontext.cpp(376) : error C2974: 'QOpenGLContext::versionFunctions'
    : invalid template argument for 'TYPE', type expected
    c:\qt\5.5\qtbase\include\qtgui../../src/gui/kernel/qopenglcontext.h(181
    ) : see declaration of 'QOpenGLContext::versionFunctions'
    kernel\qopenglcontext.cpp(378) : error C2065: 'gl1funcs' : undeclared identifier

    kernel\qopenglcontext.cpp(378) : error C2065: 'gl3funcs' : undeclared identifier

    kernel\qopenglcontext.cpp(380) : error C2065: 'gl1funcs' : undeclared identifier

    kernel\qopenglcontext.cpp(381) : error C2065: 'gl1funcs' : undeclared identifier

    kernel\qopenglcontext.cpp(381) : error C2227: left of '->glGetTexLevelParameteri
    v' must point to class/struct/union/generic type
    type is 'unknown-type'
    kernel\qopenglcontext.cpp(381) : error C2065: 'GL_TEXTURE_WIDTH' : undeclared id
    entifier
    kernel\qopenglcontext.cpp(383) : error C2065: 'gl3funcs' : undeclared identifier

    jom: C:\Qt\5.5\qtbase\src\gui\Makefile.Release [.obj\release\qplatformsharedgrap
    hicscache.obj] Error 2
    kernel\qopenglcontext.cpp(383) : error C2227: left of '->glGetTexLevelParameteri
    v' must point to class/struct/union/generic type
    type is 'unknown-type'
    kernel\qopenglcontext.cpp(383) : error C2065: 'GL_TEXTURE_WIDTH' : undeclared id
    entifier
    kernel\qopenglcontext.cpp(395) : error C2065: 'gl1funcs' : undeclared identifier

    kernel\qopenglcontext.cpp(396) : error C2065: 'gl1funcs' : undeclared identifier

    kernel\qopenglcontext.cpp(396) : error C2227: left of '->glGetTexLevelParameteri
    v' must point to class/struct/union/generic type
    type is 'unknown-type'
    kernel\qopenglcontext.cpp(396) : error C2065: 'GL_TEXTURE_WIDTH' : undeclared id
    entifier
    kernel\qopenglcontext.cpp(398) : error C2065: 'gl3funcs' : undeclared identifier

    kernel\qopenglcontext.cpp(398) : error C2227: left of '->glGetTexLevelParameteri
    v' must point to class/struct/union/generic type
    type is 'unknown-type'
    kernel\qopenglcontext.cpp(398) : error C2065: 'GL_TEXTURE_WIDTH' : undeclared id
    entifier

    jom: C:\Qt\5.5\qtbase\src\gui\Makefile [debug-all] Error 2
    jom: C:\Qt\5.5\qtbase\src\gui\Makefile [release-all] Error 2
    jom: C:\Qt\5.5\qtbase\src\Makefile [sub-gui-make_first] Error 2
    jom: C:\Qt\5.5\qtbase\Makefile [sub-src-make_first] Error 2
    jom: C:\Qt\5.5\Makefile [module-qtbase-make_first] Error 2

    Please give some solution to solve this problem...

    S 1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Do you really need to compile Qt by yourself?
      You can just install Qt for VS2013.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Shidharth
        wrote on last edited by
        #3

        Thanks for Reply.This is necessary to compile Qt. If u had any idea to clear this error. please share it

        1 Reply Last reply
        0
        • S Shidharth

          Hi I'm new to qt and I have been trying to build and compile QT with no luck. the last configure I have used looks like

          configure -debug-and-release -opensource -platform -opengl desktop win32-msvc2010

          ..\jom\jom.exe

          but it throws errors such as,kernel\qopenglcontext.cpp(364) : error C2065: 'GL_PROXY_TEXTURE_2D' : undeclared
          identifier
          kernel\qopenglcontext.cpp(370) : error C2065: 'QOpenGLFunctions_1_0' : undeclare
          d identifier
          kernel\qopenglcontext.cpp(370) : error C2065: 'gl1funcs' : undeclared identifier

          kernel\qopenglcontext.cpp(371) : error C2065: 'QOpenGLFunctions_3_2_Core' : unde
          clared identifier
          kernel\qopenglcontext.cpp(371) : error C2065: 'gl3funcs' : undeclared identifier

          kernel\qopenglcontext.cpp(374) : error C2065: 'gl3funcs' : undeclared identifier

          kernel\qopenglcontext.cpp(374) : error C2065: 'QOpenGLFunctions_3_2_Core' : unde
          clared identifier
          kernel\qopenglcontext.cpp(374) : error C2974: 'QOpenGLContext::versionFunctions'
          : invalid template argument for 'TYPE', type expected
          c:\qt\5.5\qtbase\include\qtgui../../src/gui/kernel/qopenglcontext.h(181
          ) : see declaration of 'QOpenGLContext::versionFunctions'
          kernel\qopenglcontext.cpp(376) : error C2065: 'gl1funcs' : undeclared identifier

          kernel\qopenglcontext.cpp(376) : error C2065: 'QOpenGLFunctions_1_0' : undeclare
          d identifier
          kernel\qopenglcontext.cpp(376) : error C2974: 'QOpenGLContext::versionFunctions'
          : invalid template argument for 'TYPE', type expected
          c:\qt\5.5\qtbase\include\qtgui../../src/gui/kernel/qopenglcontext.h(181
          ) : see declaration of 'QOpenGLContext::versionFunctions'
          kernel\qopenglcontext.cpp(378) : error C2065: 'gl1funcs' : undeclared identifier

          kernel\qopenglcontext.cpp(378) : error C2065: 'gl3funcs' : undeclared identifier

          kernel\qopenglcontext.cpp(380) : error C2065: 'gl1funcs' : undeclared identifier

          kernel\qopenglcontext.cpp(381) : error C2065: 'gl1funcs' : undeclared identifier

          kernel\qopenglcontext.cpp(381) : error C2227: left of '->glGetTexLevelParameteri
          v' must point to class/struct/union/generic type
          type is 'unknown-type'
          kernel\qopenglcontext.cpp(381) : error C2065: 'GL_TEXTURE_WIDTH' : undeclared id
          entifier
          kernel\qopenglcontext.cpp(383) : error C2065: 'gl3funcs' : undeclared identifier

          jom: C:\Qt\5.5\qtbase\src\gui\Makefile.Release [.obj\release\qplatformsharedgrap
          hicscache.obj] Error 2
          kernel\qopenglcontext.cpp(383) : error C2227: left of '->glGetTexLevelParameteri
          v' must point to class/struct/union/generic type
          type is 'unknown-type'
          kernel\qopenglcontext.cpp(383) : error C2065: 'GL_TEXTURE_WIDTH' : undeclared id
          entifier
          kernel\qopenglcontext.cpp(395) : error C2065: 'gl1funcs' : undeclared identifier

          kernel\qopenglcontext.cpp(396) : error C2065: 'gl1funcs' : undeclared identifier

          kernel\qopenglcontext.cpp(396) : error C2227: left of '->glGetTexLevelParameteri
          v' must point to class/struct/union/generic type
          type is 'unknown-type'
          kernel\qopenglcontext.cpp(396) : error C2065: 'GL_TEXTURE_WIDTH' : undeclared id
          entifier
          kernel\qopenglcontext.cpp(398) : error C2065: 'gl3funcs' : undeclared identifier

          kernel\qopenglcontext.cpp(398) : error C2227: left of '->glGetTexLevelParameteri
          v' must point to class/struct/union/generic type
          type is 'unknown-type'
          kernel\qopenglcontext.cpp(398) : error C2065: 'GL_TEXTURE_WIDTH' : undeclared id
          entifier

          jom: C:\Qt\5.5\qtbase\src\gui\Makefile [debug-all] Error 2
          jom: C:\Qt\5.5\qtbase\src\gui\Makefile [release-all] Error 2
          jom: C:\Qt\5.5\qtbase\src\Makefile [sub-gui-make_first] Error 2
          jom: C:\Qt\5.5\qtbase\Makefile [sub-src-make_first] Error 2
          jom: C:\Qt\5.5\Makefile [module-qtbase-make_first] Error 2

          Please give some solution to solve this problem...

          S Offline
          S Offline
          sandy.martel23
          wrote on last edited by
          #4

          @Shidharth said:

          configure -debug-and-release -opensource -platform -opengl desktop win32-msvc2010

          Start with building your configure line properly, this doesn't make sense.
          The -platform option need to be followed by the platform argument, like win32-msvc2013.
          Which beg the other question: why build with win32-msvc2010 if you want msvc2013 ?
          Do you really need '-opengl desktop' ?

          try configure -help

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved