Skip to content

In Example21-4, What library I need to import? #222

@lu-george

Description

@lu-george

When run the Example21-4 codes, I get following error:
A library used by this sketch is not installed properly.
java.lang.UnsatisfiedLinkError: Can't load library: K:\processing-3.4-windows64\processing-3.4\natives\windows-amd64\nativewindow_awt.dll
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1827)
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:624)
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 jogamp.nativewindow.NWJNILibLoader.access$000(NWJNILibLoader.java:39)
at jogamp.nativewindow.NWJNILibLoader$1.run(NWJNILibLoader.java:49)
at jogamp.nativewindow.NWJNILibLoader$1.run(NWJNILibLoader.java:41)
at java.security.AccessController.doPrivileged(Native Method)
at jogamp.nativewindow.NWJNILibLoader.loadNativeWindow(NWJNILibLoader.java:41)
at jogamp.nativewindow.jawt.JAWTUtil.(JAWTUtil.java:336)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.jogamp.nativewindow.NativeWindowFactory$3.run(NativeWindowFactory.java:346)
at com.jogamp.nativewindow.NativeWindowFactory$3.run(NativeWindowFactory.java:342)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.nativewindow.NativeWindowFactory.initSingleton(NativeWindowFactory.java:342)
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:10924)
at processing.core.PApplet.runSketch(PApplet.java:10811)
at processing.core.PApplet.main(PApplet.java:10511)
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 imported: PDF Export, Camara 3D,Shapes 3D libaries already. I need to import some other libaray to run this example? What is the name of libaray if needed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions