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. Problem compiling QT4 4.7.0
QtWS25 Last Chance

Problem compiling QT4 4.7.0

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 5.4k Views
  • 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.
  • L Offline
    L Offline
    luca
    wrote on last edited by
    #1

    Hi all,
    I'd like to try the new qt 4.7.0 so I downloaded the source and compiled as always:
    @
    ./configure -debug -prefix /opt/qt4-4.7.0-beta1 -no-exceptions -fast -qdbus -pch -opensource -confirm-license
    make
    @

    while compiling I get this error:
    @
    g++ -c -pipe -g -fno-exceptions -g -I/usr/include/freetype2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_OPENGL_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtGui -I../../include -I../../include/QtOpenGL -I.rcc/debug-shared -I/usr/include/freetype2 -I/usr/include/freetype2 -I../3rdparty/harfbuzz/src -I/usr/include -I/usr/include -I.moc/debug-shared -o .obj/debug-shared/qglpixelbuffer.o qglpixelbuffer.cpp
    In file included from ../../include/QtOpenGL/private/../../../src/opengl/qglpixelbuffer_p.h:64,
    from ../../include/QtOpenGL/private/qglpixelbuffer_p.h:1,
    from qglpixelbuffer.cpp:86:
    /usr/include/GL/glx.h:174: error: 'Bool' has not been declared
    /usr/include/GL/glx.h:190: error: 'Bool' does not name a type
    /usr/include/GL/glx.h:192: error: 'Bool' does not name a type
    /usr/include/GL/glx.h:195: error: 'Bool' does not name a type
    /usr/include/GL/glx.h:197: error: 'Bool' does not name a type
    /usr/include/GL/glx.h:239: error: 'Bool' has not been declared
    /usr/include/GL/glx.h:268: error: 'Bool' does not name a type
    /usr/include/GL/glx.h:291: error: 'Bool' has not been declared
    In file included from ../../include/QtOpenGL/private/../../../src/opengl/qglpixelbuffer_p.h:64,
    from ../../include/QtOpenGL/private/qglpixelbuffer_p.h:1,
    from qglpixelbuffer.cpp:86:
    /usr/include/GL/glx.h:292: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glx.h:292: error: 'PFNGLXMAKECONTEXTCURRENTPROC' was not declared in this scope
    /usr/include/GL/glx.h:334: error: 'Bool' does not name a type
    In file included from /usr/include/GL/glx.h:350,
    from ../../include/QtOpenGL/private/../../../src/opengl/qglpixelbuffer_p.h:64,
    from ../../include/QtOpenGL/private/qglpixelbuffer_p.h:1,
    from qglpixelbuffer.cpp:86:
    /usr/include/GL/glxext.h:278: error: 'Bool' does not name a type
    /usr/include/GL/glxext.h:432: error: 'Bool' has not been declared
    In file included from /usr/include/GL/glx.h:350,
    from ../../include/QtOpenGL/private/../../../src/opengl/qglpixelbuffer_p.h:64,
    from ../../include/QtOpenGL/private/qglpixelbuffer_p.h:1,
    from qglpixelbuffer.cpp:86:
    /usr/include/GL/glxext.h:469: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:469: error: 'PFNGLXMAKECURRENTREADSGIPROC' was not declared in this scope
    /usr/include/GL/glxext.h:518: error: 'Bool' has not been declared
    /usr/include/GL/glxext.h:588: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:588: error: 'PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC' was not declared in this scope
    /usr/include/GL/glxext.h:596: error: typedef 'Status' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:596: error: 'PFNGLXGETTRANSPARENTINDEXSUNPROC' was not declared in this scope
    /usr/include/GL/glxext.h:620: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:620: error: 'PFNGLXRELEASEBUFFERSMESAPROC' was not declared in this scope
    /usr/include/GL/glxext.h:628: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:628: error: 'PFNGLXSET3DFXMODEMESAPROC' was not declared in this scope
    /usr/include/GL/glxext.h:648: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:648: error: 'PFNGLXGETSYNCVALUESOMLPROC' was not declared in this scope
    /usr/include/GL/glxext.h:649: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:649: error: 'PFNGLXGETMSCRATEOMLPROC' was not declared in this scope
    /usr/include/GL/glxext.h:651: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:651: error: 'PFNGLXWAITFORMSCOMLPROC' was not declared in this scope
    /usr/include/GL/glxext.h:652: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:652: error: 'PFNGLXWAITFORSBCOMLPROC' was not declared in this scope
    /usr/include/GL/glxext.h:751: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:751: error: 'PFNGLXJOINSWAPGROUPNVPROC' was not declared in this scope
    /usr/include/GL/glxext.h:755: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:755: error: 'PFNGLXBINDSWAPBARRIERNVPROC' was not declared in this scope
    /usr/include/GL/glxext.h:759: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:759: error: 'PFNGLXQUERYSWAPGROUPNVPROC' was not declared in this scope
    /usr/include/GL/glxext.h:764: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:764: error: 'PFNGLXQUERYMAXSWAPGROUPSNVPROC' was not declared in this scope
    /usr/include/GL/glxext.h:769: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:769: error: 'PFNGLXQUERYFRAMECOUNTNVPROC' was not declared in this scope
    /usr/include/GL/glxext.h:773: error: typedef 'Bool' is initialized (use decltype instead)
    /usr/include/GL/glxext.h:773: error: 'PFNGLXRESETFRAMECOUNTNVPROC' was not declared in this scope
    make[1]: *** [.obj/debug-shared/qglpixelbuffer.o] Error 1
    @

    I'm using Slackware 13.1.

    What do you think about...?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      luca
      wrote on last edited by
      #2

      Ok, I found this:
      http://bugreports.qt.nokia.com/browse/QTBUG-9779
      it seems my problem...

      1 Reply Last reply
      0
      • A Offline
        A Offline
        absfrm
        wrote on last edited by
        #3

        Edited: posting was a mistake sorry

        If You Want You Can!

        1 Reply Last reply
        0
        • A Offline
          A Offline
          absfrm
          wrote on last edited by
          #4

          Edited: posting was a mistake sorry

          If You Want You Can!

          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