Bug 490

Summary: Documentation error in JOCL FAQ
Product: [JogAmp] Jocl Reporter: Robert B <robert.c.baruch>
Component: coreAssignee: Michael Bien <bienator>
Status: VERIFIED FIXED    
Severity: enhancement    
Priority: ---    
Version: 1   
Hardware: All   
OS: all   
Type: --- SCM Refs:
Workaround: ---

Description Robert B 2011-03-31 22:22:29 CEST
On this page: http://jogamp.org/wiki/index.php/JOCL_FAQ under "How can I test if OpenCL is properly set up on my system?", it says:

or invoke: java -jar jocl.jar -Djava.library.path="path/to/jocl/libs" com.jogamp.opencl.util.CLInfo

This is incorrect. The correct invocation is:

java -classpath jocl.jar:path/to/gluegen-rt.jar -Djava.library.path="path/to/native/libs" com.jogamp.opencl.util.CLInfo


Also, at some point it should be mentioned that the native library jarred up by the ant build in gluegen-rt-natives-xxx.jar and jocl-natives-xxx.jar need to be unjarred and placed somewhere that is the same as path/to/native/libs.
Comment 1 Michael Bien 2011-04-04 20:51:10 CEST
thanks for the report Robert.
fixed: https://jogamp.org/wiki/index.php/JOCL_FAQ#How_can_I_test_if_OpenCL_is_properly_set_up_on_my_system.3F