Important: Please read the Qt Code of Conduct -

Annoying -lGL

  • After fresh install xubuntu 13.04 and Qt 5.1.1 64 bits i have this annoying error when try to compile:

    /usr/bin/ld: cannot find -lGL
    make: Leaving directory `/home/xxxx/work/BigDataWeb'
    collect2: error: ld returned 1 exit status
    make: *** [BigDataWeb] Error 1
    21:38:02: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project BigDataWeb (kit: Desktop Qt 5.1.1 GCC 64bit)
    When executing step 'Make'

    This should be a stupid issue, but in fact i am not get it ... any help pls ?

  • Lifetime Qt Champion


    This question has been asked on the forum many times. You don't have the OpenGL development library installed.

  • bahh ,, sorry tkx ;)

  • Lifetime Qt Champion

    You're welcome !

    Please, can you update the thread title prepending [solved] ? So other forum users may know a solution has been found :)

Log in to reply