Ask Your Question
0

../../lib/libopencv_ocl.so.2.4.5: undefined reference to `clEnqueueFillBuffer'

asked 2013-06-22 22:48:11 -0500

Hello all. I've been trying to install opencv 2.4.5 on ubuntu 13.04. All dependencies are installed, including CUDA and openCL with nvidia drivers. But about 80% through the make process, the whole thing stops because of this error. I have no idea what is causing it. Any help?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-06-24 09:36:24 -0500

Yusuke Suzuki gravatar image

clEnqueueFillBufer() is available from OpenCL version 1.2 . Check your OpenCL version.

edit flag offensive delete link more
1

answered 2013-07-03 02:49:44 -0500

dhaneshr gravatar image

updated 2013-07-03 02:51:49 -0500

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

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-06-22 22:48:11 -0500

Seen: 1,344 times

Last updated: Jul 03 '13