I am trying to run the sample code facedetect.cpp that implements Viola Jones face detection algorithm using the OCL module so that it can take advantage of the GPU. But when i run the code in Visual Studio 2010, I get multiple errors stating " Unresolved external symbol int__cdecl cv::ocl::getDevice() ...". I used cmake to generate some files but what am I supposed to do with them?? Please help ... I am stuck very badly :(