Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

-IGL missing



  • I had to use my Qt creator on my windows without any problem but now I merge to ubunto and install it via the online tool. It runs my c++ projects but not Qt project. For exemple, When I execute any of the samples (ex. the simple calculator demo) it give me the error below:

    :-1: error: cannot find -lGL
    :-1: error: collect2: error: ld returned 1 exit status

    I think there is something messing in my file installation but I didn't now how to do .When I make search on the error or on the IGL library I found nothing


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    When searching that kind of error, don't forget to remove the - sign otherwise the search engines will remove that term from the search.

    You are missing the OpenGL development package for your distribution.


Log in to reply