error building on OS X Snow Leopard

asked 2015-02-17 20:26:15 -0500

Mac OS X 10.6.8

OpenCV 2.4.9

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..

make

I get the following error:

opencv-2.4.9/modules/ocl/src/cl_context.cpp: In member function ‘void cv::ocl::DeviceInfoImpl::init(int, cv::ocl::PlatformInfoImpl&, _cl_device_id*)’:

opencv-2.4.9/modules/ocl/src/cl_context.cpp:205: error: ‘CL_DEVICE_HOST_UNIFIED_MEMORY’ was not declared in this scope

edit retag flag offensive close merge delete

Comments

I'm getting the same error. Mac OS X 10.7.5 and OpenCV 2.4.10.

jbalanko gravatar imagejbalanko ( 2015-03-21 17:27:20 -0500 )edit