[OpenCV 2.4.3]Installing ocl module corrupted on OSX 10.8.x

asked 2013-01-10 12:28:16 -0500

JC gravatar image

updated 2013-01-10 12:29:35 -0500


I tried to install OpenCV with ocl module installed by modifying cmake configuration file (CMakeLists.txt) on two different system environments. 1.) OSX 10.8.2 without CUDA driver installed on NVIDIA Macbook Pro. 2.) OSX 10.8.2 with CUDA driver installed.

(c)cmake -G "Unix Makefiles" ..
make -j8

then, error message shows up as following…

OpenCV-2.4.3/modules/ocl/src/precomp.hpp:80:10: fatal error: 'OpenCL/OpenCL.h' file not found #include <OpenCL/opencl.h>

How do I solve this? Thanks.

edit retag flag offensive close merge delete