Bug 490 - Documentation error in JOCL FAQ
Summary: Documentation error in JOCL FAQ
Status: VERIFIED FIXED
Alias: None
Product: Jocl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: --- enhancement
Assignee: Michael Bien
URL:
Depends on:
Blocks:
 
Reported: 2011-03-31 22:22 CEST by Robert B
Modified: 2011-04-04 20:51 CEST (History)
0 users

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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