Ask Your Question

joelb92's profile - activity

2013-01-18 09:55:23 -0600 received badge  Editor (source)
2013-01-18 01:22:01 -0600 asked a question Strange error when trying to use OCL library

I recently compiled the latest version of OpenCV 2.4.3 using cmake to build on macOSX with this line of code:

cmake -G "Unix Makefiles" -D WITH_OPENCL=ON ..

All libraries work just fine in xcode, but when I try and call any function other than oclMat.upload(Mat) or getDevices(vector<info>), I get the following error message:

            BUILD LOG
Error getting function data from server
OpenCV Error: Gpu API call (CL_BUILD_PROGRAM_FAILURE) in openCLGetKernelFromSource,
file /OpenCV-2.4.3/modules/ocl/src/initialization.cpp, line 630
libc++abi.dylib: terminate called throwing an exception

Does anyone know what could be going on here? I'm running Mac OSX mountain lion with an AMD Radeon HD 6750M with 1024mb of memory, and I have OpenCL installed (comes integrated with OSX natively). Does anyone have any idea what this error means?