Results 1 to 6 of 6

Thread: [SOLVED] error: cannot find -lGL

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2013
    Posts
    3
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default [SOLVED] error: cannot find -lGL

    Hello,
    I tryed to install QT5.1.1 in Ubuntu 12.04 inside a virtual machine VMware.
    If I create a new project or clean or rebuild an exist project, when i try to build i receive these error:

    error: cannot find -lGL

    In the file Makefile I find these row:

    LIBS = $(SUBLIBS) -L/home/lele/Qt5.1.1/5.1.1/gcc/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread

    if i delete manually -lGL everything work and compilation happen whitout errors, but i would like to dont need to modificate manually the file every time when i clea or rebuild my projects.

    Somebody can tell me why happen these ?

    Thanks for answere Gabriele.
    Last edited by lele71; 13th December 2013 at 17:38.

Similar Threads

  1. Error: /usr/bin/ld: cannot find -lGL
    By tomkonikkara in forum Newbie
    Replies: 18
    Last Post: 18th September 2015, 19:14
  2. Replies: 1
    Last Post: 28th December 2012, 22:13
  3. error: cannot find -lovlnxlib
    By Tondog in forum KDE Forum
    Replies: 0
    Last Post: 14th August 2009, 15:20
  4. Find one error
    By BadKnees in forum Qt Programming
    Replies: 3
    Last Post: 24th March 2009, 15:33
  5. The error: /usr/bin/ld: cannot find -lphonon
    By learning_qt in forum Qt Programming
    Replies: 1
    Last Post: 1st October 2008, 22:12

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.