Comment 3 for bug 540171

Revision history for this message
Alberto Milone (albertomilone) wrote :

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.