Ask Your Question

Revision history [back]

I am having the same issues. Compilation halts at 76% and the following error is reported:

Linking CXX executable ../../bin/opencv_perf_ocl
../../lib/libopencv_ocl.so.2.4.5: undefined reference to `clEnqueueFillBuffer'
../../lib/libopencv_ocl.so.2.4.5: undefined reference to `clCreateImage'
collect2: ld returned 1 exit status
make[2]: *** [bin/opencv_perf_ocl] Error 1
make[1]: *** [modules/ocl/CMakeFiles/opencv_perf_ocl.dir/all] Error 2
make: *** [all] Error 2

It seems that nvidia only seems to support opencl 1.1. I'm at a loss on how to proceed.

I am having the same issues. Compilation halts at 76% and the following error is reported:

Linking CXX executable ../../bin/opencv_perf_ocl
../../lib/libopencv_ocl.so.2.4.5: undefined reference to `clEnqueueFillBuffer'
../../lib/libopencv_ocl.so.2.4.5: undefined reference to `clCreateImage'
collect2: ld returned 1 exit status
make[2]: *** [bin/opencv_perf_ocl] Error 1
make[1]: *** [modules/ocl/CMakeFiles/opencv_perf_ocl.dir/all] Error 2
make: *** [all] Error 2

It seems that nvidia only seems to support opencl 1.1. I'm at a loss on how to proceed.1.1...:-(