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. HELP please : :-1: erreur : cannot find -lGL

HELP please : :-1: erreur : cannot find -lGL

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

    Hello everybody,

    I've a problem compiling my Qt programs.
    Each time I try to compile I get this message : ":-1: erreur : cannot find -lGL"

    I'm running on a Linux Mint 16 (32bits)
    My compiler is a GCC 4.8.1

    I've downloaded this website's downloadable QtCreator 3.1.2 and installed it following the Linux's usual installation way. It ran without error.
    I got that message when I tried to compile my first program (Window with push button) .
    I've then tried to uninstall and reinstall QtCreator, just in case something was missing. It was useless.

    Can someone help me fixing this problem ?
    Thank a lot.

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

      Hi and welcome to devnet,

      Please start by searching this forum, this question has been asked many times. You are missing 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
      • V Offline
        V Offline
        VWotan
        wrote on last edited by
        #3

        thanks a lot ;-)

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

          You're welcome !

          Now that you have it working, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

          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