I have a problem in compiling simple program using openCL under Ubuntu. I have downloaded the AMD stream SDK from the AMD site and I have installed it using the installation notes from the same site. I have copied a simple hello world program from a OpenCL manual and I've tried to compile it using the command suggested from manual :
gcc -o hello -I '$AMDSTREAMSDKROOT/include' -L '$AMDSTREAMSDKROOT/lib/x86_64' hello.c ‐lOpenCL
but the answer from the compiler is
gcc: error: ‐lOpenCL: no such file or directory
Does anyone has any ideas about this problem? Thanks