Ask Your Question

dhaneshr's profile - activity

2013-07-03 02:51:49 -0600 received badge  Editor (source)
2013-07-03 02:49:44 -0600 answered a question ../../lib/libopencv_ocl.so.2.4.5: undefined reference to `clEnqueueFillBuffer'

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...:-(