I am having no trouble with regular JOGL on my Core 2 Duo Macbook Pro. Today, I tried to add CG to my application and I get the message:
Exception in thread “main” java.lang.UnsatisfiedLinkError: /System/Library/Java/Extensions/libjogl_cg.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at com.sun.opengl.impl.NativeLibLoader$DefaultAction.loadLibrary(NativeLibLoader.java:78)
at com.sun.opengl.impl.NativeLibLoader.loadLibrary(NativeLibLoader.java:101)
at com.sun.opengl.impl.NativeLibLoader.access$100(NativeLibLoader.java:47)
at com.sun.opengl.impl.NativeLibLoader$4.run(NativeLibLoader.java:151)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.opengl.impl.NativeLibLoader.loadCgImpl(NativeLibLoader.java:148)
at com.sun.opengl.cg.CgGL.(CgGL.java:5412)
at com.raytheon.viz.core.rsc.tile.Test.main(Test.java:13)
The file is there, but it won’t seem to load. I have tried the latest binary build and the 1.0 universal build.
Any suggestions?