Prerequisites
Follow all steps described in How to build JOGL, since GlueGen and JOGL are required as compiletime dependencies.
Platform and Component Requirements
To verify the build you will have to install a OpenCL implementation on your platform.
Some vendors ship OpenCL already with the graphics driver or operating system. So please make sure your system is up2date.
OpenCL SDKs for the desktop:- GPU NVidia Geforce >= 8
- NVidia GPU Computing SDK
- GPU AMD or
- CPU x86 x86_64 SSE3
- CPU Intel
- Intel OpenCL SDK
Build Steps
Here are the steps that are required in order to build JOCL.
- Optain the source code using git:
It is important that you checkout the source project side by side to its dependencies:
/home/dude/projects/jogamp> git clone git://jogamp.org/srv/scm/jocl.git jocl
Now 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
you can now open the projects with NetBeans or proceed with: - Build the source tree:
Open a command shell in the "jocl" directory of the source tree and type"ant jar"
. - Test your build:
Stay in your command shell in the "jocl" directory of the source tree and type"ant test"
. - Build Javadoc:
Stay in your command shell in the "jocl" directory of the source tree and type "ant javadoc"
. This will produce the end-user documentation for JOCL.
Common build problems
- TODO