Jaakko, you'll need to pass gcc the path to the openCL headers.

Try with the following command (which works here):
gcc opencltest.c -o opencltest -I/usr/include/nvidia-current/

Even if I moved the headers into /usr/include/CL you would still have to
pass "-I/usr/include/CL" to gcc.

-- 
Empty /usr/include/CL after installation of nvidia-current and 
nvidia-current-dev
https://bugs.launchpad.net/bugs/540171
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in ubuntu.

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to