Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error: cannot find -lGL

Error: cannot find -lGL

Scheduled Pinned Locked Moved Solved General and Desktop
15 Posts 8 Posters 3.1k 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.
  • johngodJ Offline
    johngodJ Offline
    johngod
    wrote on last edited by
    #4

    sudo apt-get install libqt5-opengl-dev

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

      Hi and welcome to devnet,

      @LIS-KZP please search the forum before asking a question. That one has been asked and answered many times already even yesterday.

      @johngod That will also install the Qt 5 dev packages from Ubuntu, which is not necessarily what the OP wants.

      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
      • S Offline
        S Offline
        shellback3
        wrote on last edited by
        #6

        @Sgaist I did attempt a search but found nothing. What I want is qt-creator installed and working on my Ubuntu 14.04 machine using XFCE4. and I don't know enough about Qt to have any preferences.

        @jsulim I did the usual apt-get update and then

        sudo apt-get install libgl1-mesa-dev

        It appeared to be working and then a license notification appeared but there was no way to accept it so after several minutes I closed the terminal emulator.

        I get the same error when I attempt to compile. Do I need to delete my previous qt installation and reinstall? Should I use the Ubuntu version?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          shellback3
          wrote on last edited by
          #7

          BTW I initialed my screen name after my first post ...

          mrjjM 1 Reply Last reply
          0
          • S shellback3

            BTW I initialed my screen name after my first post ...

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #8

            @shellback3
            at work i'm also on 14.04 (mint) with xfce.
            besides sudo apt-get install libgl1-mesa-dev
            I just downloaded the linux open source installer and
            chmod +x it and ran it.
            I get no license notification so I wonder what you have installed?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              shellback3
              wrote on last edited by
              #9

              When I run 'sudo apt-get install libgl1-mesa-dev' it starts to run and then the terminal window is filled by a window titled "Configuring ttf-mscorefonts-installer" with some text: "TrueType core fonts for the Web EULA". There is no place to input acceptance or reject the EULA and I suspect closing the window kills the installation. I think I need to reboot for that process to quit.

              JKSHJ 1 Reply Last reply
              0
              • S Offline
                S Offline
                shellback3
                wrote on last edited by
                #10

                @mrjj I was able to kill the process. I'll attempt to install Qt again...

                1 Reply Last reply
                0
                • S shellback3

                  When I run 'sudo apt-get install libgl1-mesa-dev' it starts to run and then the terminal window is filled by a window titled "Configuring ttf-mscorefonts-installer" with some text: "TrueType core fonts for the Web EULA". There is no place to input acceptance or reject the EULA and I suspect closing the window kills the installation. I think I need to reboot for that process to quit.

                  JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #11

                  @shellback3 said:

                  When I run 'sudo apt-get install libgl1-mesa-dev' it starts to run and then the terminal window is filled by a window titled "Configuring ttf-mscorefonts-installer" with some text: "TrueType core fonts for the Web EULA". There is no place to input acceptance or reject the EULA and I suspect closing the window kills the installation. I think I need to reboot for that process to quit.

                  I've read that you can accept the license by pressing [space].

                  If that doesn't work, try installing the libgl1-mesa-dev package using other means. Do you have a package manager installed?

                  This is not related to Qt, by the way -- it's just that the Mesa libraries depend on non-free licenses.

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

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

                    I don't think libgl1-mesa-dev depends on ttf-mscorefonts-installer.
                    I guess ttf-mscorefonts-installer was selected for installation before.
                    And it is for sure possible to accept the license, I already installed this package several times, just check carefully what is printed there.

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

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      shellback3
                      wrote on last edited by
                      #13

                      @JKSH
                      @jsulm

                      Thanks (to everyone), I DO have synaptic installed (I had forgotten), so I picked the Trusty box and it installed. This time the EULA displayed correctly with an 'Agree' check box and button to continue (I had tried the space bar before but it didn't do anything). The 'stub' application compiled without incident so I guess my path to Qt is cleared ...

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        shellback3
                        wrote on last edited by
                        #14

                        [SOLVED]
                        WIll this mark my post as solved? I can't edit the title.

                        mrjjM 1 Reply Last reply
                        0
                        • S shellback3

                          [SOLVED]
                          WIll this mark my post as solved? I can't edit the title.

                          mrjjM Offline
                          mrjjM Offline
                          mrjj
                          Lifetime Qt Champion
                          wrote on last edited by
                          #15

                          @shellback3
                          Use the Topic Tools button to mark as Solved.
                          its sort of under topic to the right

                          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