Follow all steps described in How to build JOGL, since GlueGen and JOGL are required as compile-time dependencies.
Platform and Component Requirements
To run the tests included with JOCL, you will have to install an OpenCL implementation on your platform.
Some vendors include OpenCL with the graphics driver or operating system. So please make sure your system is up to date.OpenCL SDKs for the desktop:
- NVidia GPU Geforce >= 8
- NVidia GPU Computing SDK
- AMD GPU or CPU
- Intel CPU
- Intel OpenCL SDK
Here are the steps required to build JOCL.
- Check out and build Gluegen and JOGL as described here.
- Get the JOCL source code from the JOCL Git repository.
It is important that you check out the source code side by side with its dependencies:
/home/dude/projects/jogamp> git clone git://jogamp.org/srv/scm/jocl.git joclNow you should have following directory structure:
/home/dude/projects/jogamp /home/dude/projects/jogamp/gluegen /home/dude/projects/jogamp/jogl /home/dude/projects/jogamp/jocl
- Build the source tree:
Open a command shell in the "jocl/make" directory of the source tree and type
"ant clean", then
- Test your build:
Stay in your command shell in the "jocl/make" directory of the source tree and type
- Build Javadoc:
Stay in your command shell in the "jocl/make" directory of the source tree and type "
ant javadoc". This will produce the end-user documentation for JOCL.