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
Here are the steps that are required in order to build JOCL.
- Optain the source code using git:
/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/joclyou 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
- Test your build:
Stay in your command shell in the "jocl" directory of the source tree and type
- 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