ERROR: A library used by this sketch is not installed properly (OPENGL and gluegen-rt.dll issue)...

edited January 2018 in Using Processing

SOMEONE PLEASE HELP ME. I'm a complete newb to Processing and I have ZERO JAVA experience. This 9DOF Sparkfun sketch (https://github.com/Razor-AHRS/razor-9dof-ahrs/wiki/Tutorial#testing-the-tracker) ran just fine in Processing v3.2.1 when on Windows 7, HOWEVER, my organization recently pushed the Windows 10 upgrade onto my workstation. They also have instituted an IT policy that NOTHING can be loaded or ran from a TEMP directory. Here is the full error message I get now using v3.3.6 (same error happens on v3.2.1):

A library used by this sketch is not installed properly

java.lang.UnsatisfiedLinkError: C:\Users\LawlerMA\AppData\Local\Temp\jogamp_0000\file_cache\jln2242143106356340675\jln240472690072993228\natives\windows-amd64\gluegen-rt.dll: Access is denied

at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) at java.lang.Runtime.load0(Runtime.java:809) at java.lang.System.load(System.java:1086) at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:603) at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:63) at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:106) at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:487) at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:421) at com.jogamp.common.os.Platform$1.run(Platform.java:317) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.common.os.Platform.(Platform.java:287) at com.jogamp.nativewindow.NativeWindowFactory$2.run(NativeWindowFactory.java:185) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.nativewindow.NativeWindowFactory.(NativeWindowFactory.java:182) at com.jogamp.newt.NewtFactory$1.run(NewtFactory.java:68) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.newt.NewtFactory.(NewtFactory.java:65) at processing.opengl.PSurfaceJOGL.initIcons(PSurfaceJOGL.java:498) at processing.opengl.PSurfaceJOGL.initFrame(PSurfaceJOGL.java:134) at processing.core.PApplet.initSurface(PApplet.java:10889) at processing.core.PApplet.runSketch(PApplet.java:10776) at processing.core.PApplet.main(PApplet.java:10476) A library relies on native code that's not available. Or only works properly when the sketch is run as a 32-bit application.

I came across this post in another forum: forum.jogamp.org/dll-quot-Access-is-denied-quot-vs-quot-Can-t-load-library-quot-td4034197.html

Will someone please help me get this sorted out to NOT use the automatic JAR extraction to a TEMP folder... but instead manually specify where the gluegen-rt.dll resides using this command:

System.setProperty("jogamp.gluegen.UseTempJarCache", "false") //WHERE DO I TYPE THIS???

Answers

Sign In or Register to comment.