Michael Christenbury
New Member
Hey guys,
I'm trying to compile the 0.9 release from source. I've followed the readme build instructions for Red Hat based distros. It runs through most of build without an error then spits this error at me right at the end.
[100%] Building C object test/test-input/CMakeFiles/test-input.dir/test-sinewave.c.o
[100%] Building C object test/test-input/CMakeFiles/test-input.dir/test-random.c.o
Linking C shared module test-input.so
[100%] Built target test-input
Linking CXX executable obs
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clReleaseMemObject@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clReleaseCommandQueue@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clCreateBuffer@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clBuildProgram@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clSetKernelArg@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clGetDeviceIDs@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clEnqueueUnmapMemObject@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clGetPlatformInfo@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clCreateProgramWithSource@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clGetDeviceInfo@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clReleaseContext@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clCreateContextFromType@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clCreateCommandQueue@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clEnqueueMapBuffer@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clGetPlatformIDs@OPENCL_1.0'
collect2: error: ld returned 1 exit status
obs/CMakeFiles/obs.dir/build.make:901: recipe for target 'obs/obs' failed
make[2]: *** [obs/obs] Error 1
CMakeFiles/Makefile2:385: recipe for target 'obs/CMakeFiles/obs.dir/all' failed
make[1]: *** [obs/CMakeFiles/obs.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
I'm running Fedora 21 fully updated with a GTX660 and the nvidia proprietary blob.
Any help would be greatly appreciated. Thanks guys!
I'm trying to compile the 0.9 release from source. I've followed the readme build instructions for Red Hat based distros. It runs through most of build without an error then spits this error at me right at the end.
[100%] Building C object test/test-input/CMakeFiles/test-input.dir/test-sinewave.c.o
[100%] Building C object test/test-input/CMakeFiles/test-input.dir/test-random.c.o
Linking C shared module test-input.so
[100%] Built target test-input
Linking CXX executable obs
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clReleaseMemObject@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clReleaseCommandQueue@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clCreateBuffer@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clBuildProgram@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clSetKernelArg@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clGetDeviceIDs@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clEnqueueUnmapMemObject@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clGetPlatformInfo@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clCreateProgramWithSource@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clGetDeviceInfo@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clReleaseContext@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clCreateContextFromType@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clCreateCommandQueue@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clEnqueueMapBuffer@OPENCL_1.0'
/usr/bin/../lib64/libavutil.so.54: undefined reference to `clGetPlatformIDs@OPENCL_1.0'
collect2: error: ld returned 1 exit status
obs/CMakeFiles/obs.dir/build.make:901: recipe for target 'obs/obs' failed
make[2]: *** [obs/obs] Error 1
CMakeFiles/Makefile2:385: recipe for target 'obs/CMakeFiles/obs.dir/all' failed
make[1]: *** [obs/CMakeFiles/obs.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
I'm running Fedora 21 fully updated with a GTX660 and the nvidia proprietary blob.
Any help would be greatly appreciated. Thanks guys!