Hello,
I'm currently trying to install ATI Stream SDK 2.01 on my linux system.
But I don't want to install it the way it's described in the instructions, because LD_LIBRARY_PATH is generally not a good idea and I'd like the libs to be in a standard location (i.e. /usr/include/, /usr/lib/). Because otherwise I'd have to specifiy a harcoded location of ATI Stream SDK in every OpenCL project that I wish to compile.
So my installation now looks like this:
I can compile all the samples OK, but when I run a sample, it cannot compile CL code due to a linking error (regretably I have no more info that that).
Anyone knows what did I possibly miss?
Any help much appreciated...
if you use ubuntu you can use my packages which you can find link in my signature.
or try move clc and llc into /usr/bin/x86_64 or /usr/bin/x86 directory according to your architecture. if it did not help then set ATISTREAMSDK enviroment variable to /usr/bin
Thanks for answer, no I dont use Ubuntu, I use Arch linux and Im actually trying to put up a package for this distro.
I tried what you suggested but neither helped 😕
How did you solve this in your Ubuntu packages?
kralyk,
Are you able to run the packages without copying them?
try unpack my packages. it is simple ar archive an then gz archive.
Ok, I solved this now, with a bit of help of looking in your debs.
I made the SDK install in /opt/ as a whole,
copy headers to /usr/include and symlink bins and libs in /usr/bin and /usr/lib
It works ok now. At least as far as I have tested.
Thanks for help 😉