Ask Your Question

Revision history [back]

Hello,

I have a similar problem: I am running the Make command in a Ubuntu 12.04 LTS virtual machine, and I followed all the installation instructions in the link mentioned above. The terminal response is as follows:

[ 62%] Built target opencv_ocl_pch_dephelp
Scanning dependencies of target pch_Generate_opencv_ocl
[ 62%] Generating precomp.hpp
[ 62%] Generating precomp.hpp.gch/opencv_ocl_RELEASE.gch
[ 62%] Built target pch_Generate_opencv_ocl
[ 62%] Generating opencl_kernels.cpp, opencl_kernels.hpp
Scanning dependencies of target opencv_ocl
[ 62%] Building CXX object modules/ocl/CMakeFiles/opencv_ocl.dir/src/mcwutil.cpp.o
[ 62%] Building CXX object modules/ocl/CMakeFiles/opencv_ocl.dir/src/blend.cpp.o
/home/nicoara/Desktop/face detection/opencv-2.4.8/modules/ocl/src/blend.cpp:47:30: fatal error: opencl_kernels.hpp: No such file or directory
compilation terminated.
make[2]: *** [modules/ocl/CMakeFiles/opencv_ocl.dir/src/blend.cpp.o] Error 1
make[1]: *** [modules/ocl/CMakeFiles/opencv_ocl.dir/all] Error 2
make: *** [all] Error 2

I tried finding a solution online but no luck. Searching for the file opencl_kernels.hpp returns no results. Do you have any suggestions?

Thanks,

Nicoara