Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. India
  4. Qt 5.0 Build Error -> /usr/bin/ld -lGL not foud
QtWS25 Last Chance

Qt 5.0 Build Error -> /usr/bin/ld -lGL not foud

Scheduled Pinned Locked Moved India
2 Posts 2 Posters 1.8k 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.
  • N Offline
    N Offline
    nisarg369
    wrote on last edited by
    #1

    Hello Guys,

    I have installed Qt 5.0 SDK on Fedora 17 (32 bit). I am trying to make small GUI's.

    The problem is when I hit "Ctrl-R" to build and have a look at the GUI application, I get a build error like this :

    make: Entering directory /home/Nisarg/Documents/Qt Projects/untitled-build-Desktop_Qt_5_0_1_GCC_32bit-Debug' g++ -Wl,-rpath,/opt/Qt/5.0.1/gcc -Wl,-rpath,/opt/Qt/5.0.1/gcc/lib -o untitled main.o mainwindow.o moc_mainwindow.o -L/opt/Qt/5.0.1/gcc/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread /usr/bin/ld: cannot find -lGL make: Leaving directory /home/Nisarg/Documents/Qt Projects/untitled-build-Desktop_Qt_5_0_1_GCC_32bit-Debug'
    collect2: error: ld returned 1 exit status
    make: *** [untitled] Error 1
    04:07:17: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project untitled (kit: Desktop Qt 5.0.1 GCC 32bit)
    When executing step 'Make'

    Any suggestions for the above warning ?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi,

      I haven't tried Qt on Linux. But did you call configure command after installing the Qt. I hope this will solve your problem.

      check this, http://qt-project.org/doc/qt-4.8/installation.html

      Regards

      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