Ask Your Question

Revision history [back]

error building on OS X Snow Leopard

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