diff --git a/doc/HowToBuild.html b/doc/HowToBuild.html index 5556a4e..04e3e4d 100644 --- a/doc/HowToBuild.html +++ b/doc/HowToBuild.html @@ -31,42 +31,58 @@

Useful Links

+

External References

+ +

External Tutorials

+ + OpenCL

Prerequisites


- Follow all steps described in How to build JOGL.
- If you could successfully pass the junit.run tests, you may continue here.
+ Follow all steps described in How to build JOGL, + since GlueGen and JOGL are required as compiletime dependencies.

Platform and Component Requirements


- First you have to install an OpenCL SDK on your platform. + 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: @@ -83,7 +99,7 @@

Build Steps

  • JOCL Dev GIT Repo
  • - It is crucial that you checkout the source code under the common root directory: + It is important that you checkout the source project side by side to its dependencies:
         /home/dude/projects/jogamp> git clone git://github.com/mbien/jocl.git jocl
                                 
    @@ -91,31 +107,21 @@

    Build Steps

         /home/dude/projects/jogamp
         /home/dude/projects/jogamp/gluegen
    -    /home/dude/projects/jogamp/jogl
         /home/dude/projects/jogamp/jocl
    +    /home/dude/projects/jogamp/jogl
                                 
    - - -
  • Unset your CLASSPATH environment variable:
    - The Ant build requires that the JOGL jars not be visible on the classpath. On Unix, type unsetenv CLASSPATH - into a csh or tcsh shell, or unset CLASSPATH into a Bourne shell. On Windows, type set CLASSPATH= into a command prompt.
  • - -
  • Optional Copy and edit jocl.properties:
    - To specify different basic options for the build,
    - copy jocl/jocl.properties into your home directory (pointed to by the Java system property user.home).
    - Edit the copy to change desired settings. + 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". + "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. + "ant javadoc"