Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

WITH_OPENCL

all those flags only apply when building the opencv libs, not when building your program

WITH_OPENCL

all those flags only apply when building the opencv libs, not when building your program

(you need to rebuild the libs with the flags of your choice)

WITH_OPENCL

all those flags only apply when building the opencv libs, not when building your program

(you need to rebuild the libs with the flags of your choice)

however, you also can

 cv::ocl::setUseOpenCL(false);

in your main() to disable opencl at runtime