Jump to content
  • Advertisement
Sign in to follow this  
misto

Eclipse CDT & OpenGL - linker settings

This topic is 5120 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! A few days ago I saw the new CDT for Eclipse and wanted to give it a try.. now I have a question about the linker / library settings: Which paths / files do I have to put in there? I tried "/usr/lib/libGL.so" but all I get is "/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/../../../../i386-pc-linux-gnu/bin/ld: cannot find -l/usr/lib/libGL.so". Can anybody help me? Thanks! misto

Share this post


Link to post
Share on other sites
Advertisement
not that I ever used eclipse, but for gcc, you'd use -lGL and make sure that /usr/lib was in the compiler's search path, (which it should be by default I think)..

If it isn't then you can add it with -L/usr/lib

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!