JOCL FAQ: Difference between revisions

From JogampWiki
Jump to navigation Jump to search
m (added toc)
No edit summary
Line 20: Line 20:
* git clone git@github.com:username/jogl.git jogl
* git clone git@github.com:username/jogl.git jogl


== Build Dependencies ==
== What are the Build Dependencies? ==
[[GlueGen_Wiki|GlueGen]], [[JOGL_Wiki|JOGL]]
JOCL depends on [[GlueGen_Wiki|GlueGen]] and [[JOGL_Wiki|JOGL]]


JDK6, ANT 1.8
JDK6 and ANT 1.8 or later. JUnit tests require OpenCL capable hardware and OpenCL drivers.
 
== I have all the Sourcecode, how do I build it? ==
Please refer to [https://jogamp.org/jocl/doc/HowToBuild.html| this HowTo]
 
== What files do I need at Runtime?  ==
JOCL consists of two files:
* jocl.jar
* and one system dependent native library (e.g libjocl.so or jocl.dll or ..).
additionally you will have to provide
* gluegen-rt.jar
* and the corresponding native library (e.g libgluegen-rt.so or gluegen.dll or ...)
optionally you might want to add JOGL if you want to do OpenGL - OpenCL interoperability
* see [{{SERVER}}/jogl/doc/deployment/JOGL-DEPLOYMENT.html JOGL deployment options]


== Getting Started ==
== Getting Started ==
[[JOCL_Tutorial|Hello JOCL]]
* [http://michael-bien.com/mbien/entry/java_binding_for_the_opencl| Short Introduction to JOCL]
* [[JOCL_Tutorial|Hello JOCL]]
* [http://jogamp.org/jocl-demos/www|JOCL Demo Projects]

Revision as of 22:11, 19 January 2011

Get the Source Code

The project repository is located on github.

You can create a local copy/branch of the git repository, either anonymous:

or via SSH and your user credential, so you can easily push back your changes to the github server:

  • git clone git@github.com:username/gluegen.git gluegen
  • git clone git@github.com:username/jocl.git jocl
  • git clone git@github.com:username/jocl-demos.git jocl-demos
  • git clone git@github.com:username/jogl.git jogl

What are the Build Dependencies?

JOCL depends on GlueGen and JOGL

JDK6 and ANT 1.8 or later. JUnit tests require OpenCL capable hardware and OpenCL drivers.

I have all the Sourcecode, how do I build it?

Please refer to this HowTo

What files do I need at Runtime?

JOCL consists of two files:

  • jocl.jar
  • and one system dependent native library (e.g libjocl.so or jocl.dll or ..).

additionally you will have to provide

  • gluegen-rt.jar
  • and the corresponding native library (e.g libgluegen-rt.so or gluegen.dll or ...)

optionally you might want to add JOGL if you want to do OpenGL - OpenCL interoperability

Getting Started