Finding OpenCL libraries for Cmake

I’m trying to use OpenCL for a NVIDIA Quadro FX 570 along with Cmake, but it cannot find the CL libraries or the include directories.

I have installed new drivers as well as installing CUDA, but it still does not work. I went and found two different FindOpenCL.cmake files, but they do not work either.

The instructions for installing OpenCL simply point me to the CUDA page, which doesn’t have anything about finding the libraries on it. I have manually looked into the entirety of the NVIDIA GPU Computing Toolkit\CUDA\v5.5 folder as well as the driver folder, and the libraries are not found there either.

I have seen .dll files for OpenCL, but that’s it.

Is there something else I need to do to properly install OpenCL or to find the library files?

The CUDA 5.5 SDK does not contain the OpenCL headers/samples any longer. The last version to have all the samples/libraries was the 4.2 SDK.

You can also download the separate CL headers/samples from here:

Be aware that for Linux, some of the samples from the page above are horribly broken – they’re missing a makefile (that is not missing from the samples in the 4.2 SDK)

Also, lastly, for now only OpenCL 1.1 is supported, but presumably 1.2 is coming soon: