Jump to content
  • Advertisement
Sign in to follow this  

OpenGL JOGL link errors

This topic is 3396 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, I'm making an RTS that uses the Java OpenGL binding JOGL. However, I'm stuck in eclipse right now and I have no way to jar the game up into somthing playable. The libraries dont link for whatever reason. I tried: System.load(System.getProperty("user.dir")+System.getProperty("file.separator")+"lib"+ System.getProperty("file.separator")+"gluegen-rt.dll"); System.load(System.getProperty("user.dir")+System.getProperty("file.separator")+"lib"+ System.getProperty("file.separator")+"jogl_awt.dll"); System.load(System.getProperty("user.dir")+System.getProperty("file.separator")+"lib"+ System.getProperty("file.separator")+"jogl.dll"); System.load(System.getProperty("user.dir")+System.getProperty("file.separator")+"lib"+ System.getProperty("file.separator")+"jogl_cg.dll"); The above code is in the main method of the starter class and is called before anything else. There are no errors (except 1) yet it says it doesnt link. The directories above are correct (it tells me in dripping red ink when they are not). The only thing I might have wrong is the last library never links. Its spits out some red stuff in the eclipse console. Do I have to link the libraries in any specific order? ps: all it says is that it cannot "find dependent libraries", it loads the others alright though : (

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!