Show Posts
|
|
Pages: [1]
|
|
1
|
Java Game APIs & Engines / JOGL Development / Re: JOGL Project Template available for NetBeans 5
|
on: 2007-03-15 12:09:17
|
|
I also did the changes but still get the very same error message. Even tried downloading the library myself and set a path to that without any luck. I'm gonna try on a different computer to see if that makes any difference, since I get the very same error in Eclipse (even when using -Djava.library.path=path/to/natives). I've started to experimenting with OpenGL in C/C++ insead in the mean time.
Might take a week or so before I get that other computer up and running. It's a desktop and I only have a wireless connection right now, need to drill some holes and get some network cables in place. But when I'm finished I'll report back. I'm running xubuntu with an ATI-based graphics card. Should not be an issue since all examples work fine (glx gears etc).
Thanks for your help.
|
|
|
|
|
2
|
Java Game APIs & Engines / JOGL Development / Re: JOGL Project Template available for NetBeans 5
|
on: 2007-03-10 13:05:54
|
|
Cylab: Perhaps you should update the first post as well? I got into this forum looking for a quick way to get JOGL to work, so I used your old update-site from the first post and ran into problems with the glugen.rt path not being specified etc. I'm gonna try with the new update site now. Natrually not everyone is as ignorant as me and reads on instead, but some dummies are bound to start bugging you because it's not working.
If it works I'm very grateful since I was looking for a quick way to get it to work and get my hands dirty. A lot of tutorials I found used the net.java.gaming package. Hard for a newbie to understand what was wrong (I installed the latest rc).
Edit: My bad, they were the same. When I try to build your test project I get this error (stack trace):
Exception in thread "main" java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1030) at com.sun.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:68) at java.security.AccessController.doPrivileged(Native Method) at com.sun.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:66) at com.sun.gluegen.runtime.NativeLibrary.ensureNativeLibLoaded(NativeLibrary.java:399) at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:163) at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:129) at com.sun.opengl.impl.x11.DRIHack.begin(DRIHack.java:109) at com.sun.opengl.impl.x11.X11GLDrawableFactory.<clinit>(X11GLDrawableFactory.java:99) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:111) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:113) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:82) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:75) at org.yourorghere.SimpleJOGL2.main(SimpleJOGL2.java:22) Java Result: 1
I get the same in Eclipse so perhaps this don't have anything to do with your code. I just generated your project without any changes. If anyone knows how to help me I'd be very grateful!
Edit2: Tried running with this. No change. -Djava.library.path=/home/magnus/Filer/gluegen-rt.jar;/home/magnus/Filer/jogl.jar;/home/magnus/Filer/jogl-linux-natives-i586.jar
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|