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. Debugger Error (ld) Linux Mint

Debugger Error (ld) Linux Mint

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 982 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.
  • M Offline
    M Offline
    MadBossy
    wrote on last edited by
    #1

    Hey guys,

    i get this error if i try to compile:

    make: Entering directory /home/hbo/build-simulation-Desktop_Qt_5_5_1_GCC_64bit-Debug' g++ -Wl,-rpath,/home/hbo/Qt/5.5/gcc_64 -Wl,-rpath,/home/hbo/Qt/5.5/gcc_64/lib -o simulation main.o mainwindow.o moc_mainwindow.o -L/home/hbo/Qt/5.5/gcc_64/lib -lQt5Widgets -L/usr/lib64 -lQt5Gui -lQt5Core -lGL -lpthread make: Leaving directory /home/hbo/build-simulation-Desktop_Qt_5_5_1_GCC_64bit-Debug'
    /usr/bin/ld: cannot find -lGL
    collect2: error: ld returned 1 exit status
    make: *** [simulation] Error 1

    Any1 got some ideas how to fix that?

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

      Hi! It is not related to the debugger. You need OpenGL development package installed.
      This question was already asked many times here.
      Install libgl1-mesa-dev package (on Ubuntu).

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

      M 1 Reply Last reply
      0
      • jsulmJ jsulm

        Hi! It is not related to the debugger. You need OpenGL development package installed.
        This question was already asked many times here.
        Install libgl1-mesa-dev package (on Ubuntu).

        M Offline
        M Offline
        MadBossy
        wrote on last edited by
        #3

        @jsulm wow, thanks dude. thought its a other problem. anyways same package for linux mint ;)

        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