Login  Register

Trying to reproduce MovieCube example - NoClassDefFoundError: Could not initialize class com.jogamp.opengl.GLProfile

Posted by sciss on Aug 28, 2016; 8:06pm
URL: https://forum.jogamp.org/Trying-to-reproduce-MovieCube-example-NoClassDefFoundError-Could-not-initialize-class-com-jogamp-opee-tp4037093.html

Hi,

I grabbed the MovieCube.java example from the git repository, and I try to run it with the following artefacts on the classpath (via Maven):

    org.jogamp.jogl:jogl-all:2.3.2:jar
    org.jogamp.gluegen:gluegen:2.3.2:jar

And unmanaged libraries (in `lib/`):

    jogl-all-2.3.2-natives-linux-amd64.jar
    gluegen-rt.jar
    gluegen-rt-natives-linux-amd64.jar

But I get the following exception:

-----------------------------------------------------------------------------------------------------
[error] (run-main-0-AWTAnimator#00) com.jogamp.opengl.util.AnimatorBase$UncaughtAnimatorException: com.jogamp.opengl.GLException: Caught GLException: No shader code found (source nor binary) for src: [shader/texsequence_xxx.vp], bin: null on thread run-main-0-AWTAnimator#00
com.jogamp.opengl.util.AnimatorBase$UncaughtAnimatorException: com.jogamp.opengl.GLException: Caught GLException: No shader code found (source nor binary) for src: [shader/texsequence_xxx.vp], bin: null on thread run-main-0-AWTAnimator#00
        at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:92)
        at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
        at com.jogamp.opengl.util.Animator$MainLoop.run(Animator.java:204)
        at java.lang.Thread.run(Thread.java:745)
Caused by: com.jogamp.opengl.GLException: Caught GLException: No shader code found (source nor binary) for src: [shader/texsequence_xxx.vp], bin: null on thread run-main-0-AWTAnimator#00

What am I doing wrong or what am I missing?

Here is the test project: https://github.com/Sciss/jogl-test

Thanks!

Best, .h.h.