Ask Your Question

Tombliboo's profile - activity

2015-02-17 21:57:08 -0500 asked a question 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