2014-11-20 01:42:07 -0600 | asked a question | http://apple.stackexchange.com/questions/opencl kernels for building opencv not being generated completely I'm using cmake and building OpenCV from source. The OpenCL kernels for each module (opencl_kernels_MODULENAME.cpp and opencl_kernels_MODULENAME.hpp) are predominantly empty. This is what one of them look like when I open them - Same scenario in the .hpp files for EVERY module. Nothing inside. So, why would this even happen? I've tried toggling WITH_OPENCL both ON and OFF. The OpenCL Include dir is empty, while it detects the framework. I'm using the Macports gcc,g++ and gfortran compilers. This mistake does not allow me to build the library because a lot of the functions which depend on cv::ocl would not be identified. |