• Advertisement
Sign in to follow this  

Eclipse CDT & OpenGL - linker settings

This topic is 4915 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