kayrick

Opencl SDK 2.0 installing problems

Discussion created by kayrick on Jan 16, 2010
Latest reply on Jan 17, 2010 by kayrick
/usr/bin/ld: cannot find -laticalrt

I am trying to install  ati-stream-sdk-v2.0-lnx64 on linux system.

lsb_release  -a
LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description:    CentOS release 5 (Final)
Release:        5
Codename:       Final

I defined all required environment variables.

echo $ATISTREAMSDKSAMPLESROOT
/home/kayrick/ati-stream-sdk/

echo $LD_LIBRARY_PATH
/home/kayrick/ati-stream-sdk/lib/x86_64/:/usr/lib64/openmpi/1.2.5-gcc/lib

ls /usr/lib/OpenCL/vendors/
libatiocl32.so  libatiocl64.so

but make in root sdk folder fails:

Building build/debug/x86_64/cal_idct
g++ -o build/debug/x86_64/cal_idct build/debug/x86_64//cal_idct.o build/debug/x86_64//Timer.o build/debug/x86_64//Samples.o -lpthread -ldl -L/usr/X11R6/lib   -laticalrt  -laticalcl    -L../../../../lib/x86_64 
/usr/bin/ld: cannot find -laticalrt
collect2: ld returned 1 exit status

Opencl samples also don't work.

 

./HelloCL
HelloCL!
Getting Platform Information
Creating a context AMD platform
Getting device info
Loading and compiling CL source
Program::build() failed (-11).


How can I fix this problem? I belive, I need some libs for -laticalrt  -laticalcl, but I couldn't find them in sdk.

Outcomes