Sign in to follow this  

OpenGL JOGL link errors

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

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