Results 1 to 2 of 2

Thread: Newly installed QT 5.1.0 for linux/android gives error on compile of clean template

  1. #1
    Join Date
    Aug 2013
    Posts
    17
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Newly installed QT 5.1.0 for linux/android gives error on compile of clean template

    Hello,

    sorry if this is in the wrong section, but i think it might be installation related..

    i've had a clean reinstall of kubuntu 13.04 and then installed the qt linux online installer for getting both linux and android qt, as its supposed to become a crossplatform application for windows, linux and android that is a frontend and uses mysql as backend.

    anyway i installed QT 5.1.0 with everything for linux 32bit, inc 5.0.2 qt incase of.. now when i started qt creator, and built the template, i get a error, "cannot find -lGL"

    now in my head i think its looking for "-lOpenGL"?

    funny part is that it built just fine before the reformat and reinstalltion of the os, so i think i might have missed something, but i've installed the build-essentals other then that i'd think the install script would say if some dependancy was missing?

    anyway i had a total meltdown here so please help me with this.


    Qt Code:
    1. 22:12:00: Running steps for project MediaDB...
    2. 22:12:00: Configuration unchanged, skipping qmake step.
    3. 22:12:00: Starting: "/usr/bin/make"
    4. /home/stingray/Qt/5.1.0/gcc/bin/qmake -spec linux-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile ../MediaDB/MediaDB.pro
    5. g++ -Wl,-rpath,/home/stingray/Qt/5.1.0/gcc -Wl,-rpath,/home/stingray/Qt/5.1.0/gcc/lib -o MediaDB main.o mainwindow.o moc_mainwindow.o -L/home/stingray/Qt//5.1.0/gcc/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
    6. /usr/bin/ld: cannot find -lGL
    7. collect2: error: ld returned 1 exit status
    8. make: *** [MediaDB] Error 1
    9. 22:12:00: The process "/usr/bin/make" exited with code 2.
    10. Error while building/deploying project MediaDB (kit: Desktop Qt 5.1.0 GCC 32bit)
    11. When executing step 'Make'
    12. 22:12:00: Elapsed time: 00:00.
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Aug 2013
    Posts
    17
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: Newly installed QT 5.1.0 for linux/android gives error on compile of clean templa

    well we can prolly soon close this, just used wrong searchwords, "cannot find lib" and first hit i got was the GL lib missing, so if anyone else in the future finds this thread, then just go to All the dependancies for QT5....

    good night people

Similar Threads

  1. how to know if app was re-installed on Android
    By franki in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 20th September 2013, 12:06
  2. Replies: 2
    Last Post: 25th September 2012, 03:38
  3. Replies: 11
    Last Post: 9th March 2011, 16:40
  4. Replies: 2
    Last Post: 28th February 2011, 23:14
  5. [WIN XP]installed corectly (?) but cant compile tutorial programs
    By ppn in forum Installation and Deployment
    Replies: 2
    Last Post: 9th September 2007, 08:02

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.