Login  Register

UnsatisfiedLinkError outside NetBeans

Posted by Mac70 on May 13, 2014; 9:13pm
URL: https://forum.jogamp.org/UnsatisfiedLinkError-outside-NetBeans-tp4032334.html

Like in topic. When I am using JOGL inside NetBeans, everything works even without any natives in run directory (with only gluegen-rt and jogl-all added as library), but when I am trying to run it outside NetBeans, then every frame error at the botton of this post appears.

This is my setup of libraries in lib folder:


java.lang.UnsatisfiedLinkError: jogamp.opengl.gl4.GL4bcImpl.dispatch_glBufferData(IJLjava/lang/Object;IZIJ)V
        at jogamp.opengl.gl4.GL4bcImpl.dispatch_glBufferData(Native Method)
        at jogamp.opengl.gl4.GL4bcImpl.access$000(GL4bcImpl.java:29)
        at jogamp.opengl.gl4.GL4bcImpl$1.create(GL4bcImpl.java:36851)
        at jogamp.opengl.GLBufferObjectTracker.createBufferStorage(GLBufferObjectTracker.java:166)
        at jogamp.opengl.gl4.GL4bcImpl.glBufferData(GL4bcImpl.java:37392)
        at jogamp.opengl.util.GLVBOArrayHandler.bindBuffer(GLVBOArrayHandler.java:60)
        at jogamp.opengl.util.glsl.GLSLArrayHandlerInterleaved.enableState(GLSLArrayHandlerInterleaved.java:76)
        at com.jogamp.opengl.util.GLArrayDataClient.enableBuffer(GLArrayDataClient.java:210)
        at com.jogamp.opengl.util.GLArrayDataClient.seal(GLArrayDataClient.java:199)
        at jogamp.opengl.util.glsl.GLSLTextureRaster.init(GLSLTextureRaster.java:125)
        at javax.media.opengl.awt.GLJPanel$OffscreenBackend.initialize(GLJPanel.java:1466)
        at javax.media.opengl.awt.GLJPanel.initializeBackendImpl(GLJPanel.java:1145)
        at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:519)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JLayeredPane.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paintToOffscreen(Unknown Source)
        at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
        at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
        at javax.swing.RepaintManager.paint(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
        at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
        at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
        at java.awt.Container.paint(Unknown Source)
        at java.awt.Window.paint(Unknown Source)
        at javax.swing.RepaintManager$3.run(Unknown Source)
        at javax.swing.RepaintManager$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.access$1100(Unknown Source)
        at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$400(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)