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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Nadar
Hello
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.
Please help!!
Reply | Threaded
Open this post in threaded view
|

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

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.

--
Er. Avneet Kaur
Blog: www.avneetkhasla.wordpress.com

"Coming together is a beginning; keeping together is progress; working
together is success."
Avneet Kaur
Blog : www.avneetkhasla.wordpress.com
Reply | Threaded
Open this post in threaded view
|

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

Nadar
<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?
Reply | Threaded
Open this post in threaded view
|

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

maqifrnswa
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
Reply | Threaded
Open this post in threaded view
|

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

dxli
In reply to this post by Nadar
Reply | Threaded
Open this post in threaded view
|

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

Nadar
@all
Thanks everyone!!
My problem is solved now.