2.4.8 Build fails Mac OSX, opencl_kernels.hpp file not found
EDIT: The parent directory where I unpacked the .tar file has a space in the name. Someplace ??? in the build scripts there is a quoting error. likely some place is doing a "mkdir -p". I placed this is "Software Projects" and the 2.4.8 build process created a directory called "Software\ Projects" with an actually backslash in the filename.
This entire tree .../build/modules/ocl in empty except for the files open_kernals.cpp and .hpp This is a bug that I can work around by moving files but it should be fixed.
The message is "opencl_kernels.hpp file not found "
But I do see a file by this name. Here it is cut and pasted from the terminal window.
chris$ pwd /Volumes/LaCie/Chris/Software\ Projects/opencv-2.4.8/build/modules/ocl chris$ ls opencl_kernels.cpp opencl_kernels.hpp chris$
Here are the last few lines printed.
[ 63%] Generating opencl_kernels.cpp, opencl_kernels.hpp -- /Volumes/LaCie/Chris/Software\ Projects/opencv-2.4.8/build/modules/ocl/opencl_kernels.hpp contains same content [ 63%] Building CXX object modules/ocl/CMakeFiles/opencv_ocl.dir/src/arithm.cpp.o /Volumes/LaCie/Chris/Software Projects/opencv-2.4.8/modules/ocl/src/arithm.cpp:54:10: fatal error: 'opencl_kernels.hpp' file not found
include "opencl_kernels.hpp"
^
1 error generated. make[2]: * [modules/ocl/CMakeFiles/opencv_ocl.dir/src/arithm.cpp.o] Error 1 make[1]: [modules/ocl/CMakeFiles/opencv_ocl.dir/all] Error 2 make: ** [all] Error 2
Hi. I have a similar problem on a Ubuntu 12.04 virtual machine. Did you find a solution? Thanks