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. gmake errors: IN /src/opengl/qglbuffer.h for Qt5.5 open source on centos
Forum Updated to NodeBB v4.3 + New Features

gmake errors: IN /src/opengl/qglbuffer.h for Qt5.5 open source on centos

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
13 Posts 3 Posters 860 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.
  • D Offline
    D Offline
    depak
    wrote on last edited by
    #3
    1. configure command used:
      ./configure --prefix=/usr/local/Trolltech/Qt-5.5 -opensource -qt-zlib -qt-xcb
    2. i have installed all required dependencies, perl-version, openjdk,gcc-4.8.5, libpng, bzip2, xz-devel, libarchive-devel, xz-lzma-compat. Also cmake-3.6.1 and curl-7.50
    3. i need to install some product software for that this is the prerequisites.
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #4
      1. Please use out of source builds so that if you need to restart you can simply delete the build folder. By the way, Trolltech is not more since 2008.
      2. Unless you plan on doing Android development, OpenJDK is not a dependency. In your list there's at least the OpenGL development package that is missing. Please go through the documentation to get a list of all the development packages you need to install.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      1
      • SGaistS SGaist
        1. Please use out of source builds so that if you need to restart you can simply delete the build folder. By the way, Trolltech is not more since 2008.
        2. Unless you plan on doing Android development, OpenJDK is not a dependency. In your list there's at least the OpenGL development package that is missing. Please go through the documentation to get a list of all the development packages you need to install.
        D Offline
        D Offline
        depak
        wrote on last edited by
        #5

        @SGaist Thanks for the reply, but plz provide some explanation about point-1, " use out of source builds" , as i am new to Qt

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #6

          This in unrelated to Qt itself.

          Just do not build in the source tree.

          mkdir build_qt
          cd build_qt
          /path/to/Qt_sources/configure <list all arguments>
          

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          D 1 Reply Last reply
          1
          • SGaistS SGaist

            This in unrelated to Qt itself.

            Just do not build in the source tree.

            mkdir build_qt
            cd build_qt
            /path/to/Qt_sources/configure <list all arguments>
            
            D Offline
            D Offline
            depak
            wrote on last edited by
            #7

            @SGaist ok, but can i do like:
            cd qt-everywhere-opensource-src-%VERSION%
            ./configure <list all arguments>

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #8

              @depak said in gmake errors: IN /src/opengl/qglbuffer.h for Qt5.5 open source on centos:

              @SGaist ok, but can i do like:
              cd qt-everywhere-opensource-src-%VERSION%
              ./configure <list all arguments>

              This is an "in source" build so the opposite of what I am suggesting you to do.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              D 1 Reply Last reply
              0
              • D Offline
                D Offline
                depak
                wrote on last edited by
                #9
                This post is deleted!
                1 Reply Last reply
                0
                • SGaistS SGaist

                  @depak said in gmake errors: IN /src/opengl/qglbuffer.h for Qt5.5 open source on centos:

                  @SGaist ok, but can i do like:
                  cd qt-everywhere-opensource-src-%VERSION%
                  ./configure <list all arguments>

                  This is an "in source" build so the opposite of what I am suggesting you to do.

                  D Offline
                  D Offline
                  depak
                  wrote on last edited by depak
                  #10

                  @SGaist i tried it on another machine for same source(as the source code is inside a share folder), like:
                  mkdir build_qt
                  cd build_qt
                  /path/to/Qt_sources/configure <list all arguments>

                  but got following error: " you can not make a shadow build from a source tree containing a previous build"

                  jsulmJ 1 Reply Last reply
                  0
                  • D depak

                    @SGaist i tried it on another machine for same source(as the source code is inside a share folder), like:
                    mkdir build_qt
                    cd build_qt
                    /path/to/Qt_sources/configure <list all arguments>

                    but got following error: " you can not make a shadow build from a source tree containing a previous build"

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #11

                    @depak said in gmake errors: IN /src/opengl/qglbuffer.h for Qt5.5 open source on centos:

                    " you can not make a shadow build from a source tree containing a previous build"

                    You should extract Qt source code again to get a clean state without any build artefacts from your previous builds.

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

                    D 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @depak said in gmake errors: IN /src/opengl/qglbuffer.h for Qt5.5 open source on centos:

                      " you can not make a shadow build from a source tree containing a previous build"

                      You should extract Qt source code again to get a clean state without any build artefacts from your previous builds.

                      D Offline
                      D Offline
                      depak
                      wrote on last edited by
                      #12

                      @jsulm i tried it, got the following error in gmake:

                      project error unknown module(s) in qt: openglextensions

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #13

                        Did you install the OpenGL development libraries ?

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        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