Comment 5 for bug 540171

Revision history for this message
Jaakko Pero (jaakko-pero) wrote :

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

That's a negative, Sir. I should not have to include the system header directories of the distro. On Ubuntu these happen to include "/usr/include", so if I tell gcc to #include <CL/cl.h> it will look for /usr/include/CL/cl.h.

( http://gcc.gnu.org/onlinedocs/gcc-4.3.2//cpp/Search-Path.html#Search-Path )