Ask Your Question

Revision history [back]

Open 'Properties' panel of opencv_ocl project. Under 'Linker'->Additional Dependencies, add the path to the 32-bit version of OpenCL.lib. On my machine, it is located at "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\lib\x64\OpenCL.lib". Re-compile opencv_ocl and the above errors should disappear.

Open 'Properties' panel of opencv_ocl project. Under 'Linker'->Additional Dependencies, add the path to the 32-bit version of OpenCL.lib. On my machine, it is located at "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\lib\x64\OpenCL.lib". Toolkit\CUDA\v5.0\lib\Win32\OpenCL.lib". Re-compile opencv_ocl and the above errors should disappear.