Hi all,
I have already compiled the SDK and set the ATISTREAMSDKROOT variable to the folder where I had untar the files, but when I enter in the samples I'm seing this erro:
[fabio@fabiopc x86_64]$ ./HelloCL
./HelloCL: error while loading shared libraries: libOpenCL.so: cannot open shared object file: No such file or directory
Can somebody help me ??
Thks
How I do that ??? What folder is LD_LIBRARY_PATH ?
yeah... is the same for me, thanks alot ! now is working... I beleive better doc is a need for now...
i have ubuntu 9.04. i download sdk and extract it. i copy ./include/CL to /usr/include libOpenCL.so to /usr/lib. write sample program. when i run program i get CL_INVALID_OPERATION when in clBuildProgram(). when i set LD_LIBRARY_PATH=/path/toSDK/lib/x86_64/ then it work.
when i remove builtins_x86.bc from LD_LIBRARY_PATH folder then error apperar again. so that file is necesary for run OpenCL. but when i copy that file to /usr/lib it wont work.
At this time the libOpencl.so requires the environment variable:
ATISTREAMSDKROOT=/path/toSDK/
is set. This indicates where the *.bc files can be found and also the some tools in bin. By chance if you set
LD_LIBRARY_PATH=/path/toSDK/lib/x86_64
it currenlty works but this is not a supported feature and may not work in the future.
Note, that the reqirement to have the *.bc and other files around are a feature the of SDK 2.0 Beta and will not be required for the production version.