Jump to content
  • Advertisement
Sign in to follow this  
misto

Eclipse CDT & OpenGL - linker settings

This topic is 5204 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!