Login  Register

Re: error: /usr/bin/ld: cannot find -lGL

Posted by maqifrnswa on Jul 11, 2013; 12:01pm
URL: https://forum.librecad.org/error-usr-bin-ld-cannot-find-lGL-tp5708546p5708551.html

On Thu, Jul 11, 2013 at 7:31 AM, Nadar [via LibreCAD]
<[hidden email]> wrote:

> <quote author="Avneet">
>
> On Thu, Jul 11, 2013 at 3:19 PM, Nadar [via LibreCAD]
> <[hidden email]> wrote:
>> I am trying to compile my new-plugin code. But everytime I get this error
>> error: /usr/bin/ld: cannot find -lGL
>> I already have opengl library installed on my system
>
>
> Link the library properly.
>
> How to link the library?

Might be a problem with symlinks in /usr/lib
See:
http://stackoverflow.com/questions/14057737/usr-bin-ld-cannot-find-lgl-nvidia-lubuntu-12-10
http://irrlicht.sourceforge.net/forum/viewtopic.php?t=43315

~Scott