Login  Register

Cannot build jocl-demos from Eclipse

Posted by Arnold on Jan 23, 2017; 6:37am
URL: https://forum.jogamp.org/Cannot-build-jocl-demos-from-Eclipse-tp4037592.html

I am new to JOCL and openCL in general. I downloaded the latest stable build and got the HelloWorld from Michael Bien running. Next I cloned the jocl-demos, changed the build path to the jogamp library jars and ran into a problem when trying to build it in Eclips:
    Errors occurred during the build.
    Errors running builder 'Integrated External Tool Builder' on project 'jocl-demos-master'.
    The file does not exist for the external tool named jocl-demos builder.
   
I disabled the external builder and enabled the Java builder and then I got:
JOGL> Hello JOAL
Exception in thread "main" java.lang.NoClassDefFoundError: com/jogamp/openal/JoalVersion
        at jogamp.opengl.openal.av.ALDummyUsage.main(ALDummyUsage.java:14)
Caused by: java.lang.ClassNotFoundException: com.jogamp.openal.JoalVersion
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 1 more

Could anybody help me setting up the demos?

Thanks very much for your time.