我从github获得了OpenCV源代码,在尝试编译时遇到以下错误:
/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'
我的机器是配备Intel i7和GT630M显卡的笔记本电脑,我正在使用Bumblebee。
感谢。