jordan30001 / aparapi

Automatically exported from code.google.com/p/aparapi
Other
0 stars 0 forks source link

Mandel Works Fine With The GPU But, When I Run My Code From BlueJ It Doesn't Work #159

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I don't know

This prints out when running my program

Check your environment. Failed to load aparapi native library aparapi_x86_64 or 
possibly failed to locate opencl native library (opencl.dll/opencl.so). Ensure 
that both are in your PATH (windows) or in LD_LIBRARY_PATH (linux).

What is the expected output? What do you see instead?
Nothing because I don't print anything

What version of the product are you using? On what operating system?
64bit windows 8, aparapi 64bit, java 64bit

Please provide any additional information below.
I've seen some stuff about a classpath I don't know what that is or how to 
make/use one

Any help is appreciated

Original issue reported on code.google.com by 50mph.slash@gmail.com on 23 Jan 2015 at 10:09

GoogleCodeExporter commented 9 years ago
I know nothing about BlueJ, but I bet the issue is related to setting the 
java.library.path so that the Aparapi shared libraries can be found. 

You might want to look at this doc. 
http://www.bluej.org/faq.html

Search down for "How can I pass arguments to the Java Virtual Machine which 
BlueJ runs on?"  and see what they suggest.

Looks like you have to make sure you add the path to the aparapi dll in 
bluej.windows.vm.args

Original comment by frost.g...@gmail.com on 23 Jan 2015 at 10:59