I can't run and got this error...
BUILD LOG ************************************************* sh: /home/opencl/ATIStream/bin/x86/clc: not found ************************************************* Error: clBuildProgram failed. Error code : CL_BUILD_PROGRAM_FAILURE
please export ATISTREAMSDKROOT=/home/opencl/ATIStream
OpenCL didnt find clc which is in atistream-sdk/bin directory.
I typed this code but got above error messages
export ATISTREAMSDKROOT=/home/opencl/ATIStream export ATISTREAMSDKSAMPLESROOT=/home/opencl/ATIStream export LD_LIBRARY_PATH=$ATISTREAMSDKROOT/lib sudo mkdir /usr/lib/OpenCL sudo mkdir /usr/lib/OpenCL/vendors sudo ln -sf $ATISTREAMSDKROOT/lib/libatiocl32.so /usr/lib/OpenCL/vendors/libatiocl32.so
your LD_LIBRARY_PATH is wrong. but how sample is finding OpenCL.so
Please do like this for 32 bit
LD_LIBRARY_PATH=$ATISTREAMSDKROOT/lib/x86
Joeapisit,
It looks like you have changed the library directory structure.
now, It found clc. But got this BUILD LOG
BUILD LOG ************************************** Compilation failed ************************************** Error: clBuildProgram failed. Error code : CL_BUILD_PROGRAM_FAILURE
I can run it now. Thanks genaganna and nou.
What else did you do to fix it? I am havingthe same problem (Compilation failed).
Originally posted by: MrZagnut What else did you do to fix it? I am havingthe same problem (Compilation failed).
MrZagnut,
What error message you are getting from Build log? Are running existing samples or your own samples?