Sign in to follow this  

Eclipse CDT & OpenGL - linker settings

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this