OpenCV compilation error in Fedora 21
Hi there,
I've got OpenCV source code from github and I get the following error when trying to compile it:
/lib64/libavutil.so.54: undefined reference to `clReleaseMemObject@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clReleaseCommandQueue@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clCreateBuffer@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clBuildProgram@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clSetKernelArg@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clGetDeviceIDs@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clEnqueueUnmapMemObject@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clGetPlatformInfo@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clCreateProgramWithSource@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clGetDeviceInfo@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clReleaseContext@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clCreateContextFromType@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clCreateCommandQueue@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clEnqueueMapBuffer@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clGetPlatformIDs@OPENCL_1.0'
My machine is a laptop with Intel i7 and a GT630M graphics card and I'm using Bumblebee.
Thanks.