Cannot find -lGL in my QT installation



  • Hi developers, I recently to install QT Creator in my computer with Ubuntu 12.04, ok all good!, but I want to execute a project example, because I am inexpert in this IDE, Show a error in the tab "Compile Ouput" and can't execute anything project... I try to find what is the error in google, for example, but I dont find nothing information. Please help me, I will be grateful to you, I need to work in my project the University...

    Result to tab "Compile Ouput"

    @22:22:14: Running steps for project application...
    22:22:14: Configuration unchanged, skipping qmake step.
    22:22:14: Starting: "/usr/bin/make"
    g++ -Wl,-rpath,/home/carranza-rivas/Qt5.3.0/5.3/gcc_64 -Wl,-rpath,/home/carranza-rivas/Qt5.3.0/5.3/gcc_64/lib -o application main.o mainwindow.o qrc_application.o moc_mainwindow.o -L/home/carranza-rivas/Qt5.3.0/5.3/gcc_64/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
    /usr/bin/ld: cannot find -lGL
    collect2: ld returned 1 exit status
    make: *** [application] Error 1
    22:22:14: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project application (kit: Desktop Qt 5.3.0 GCC 64bit)
    When executing step 'Make'
    22:22:14: Elapsed time: 00:00.
    @

    Regards and Blessing


  • Moderators



  • Ok thank's, I will try, when going to back home, I will notify my experience...



  • Perfect 'JKSH' !, That solved my problem... very thank's

    Regards


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.