-
ahb authored
OpenCV Error: Unknown error code -6 (OpenCL function is not available: [clGetPlatformIDs]) in opencl_check_fn, file /home/ahb/software/opencv/modules/ocl/src/cl_runtime/cl_runtime.cpp, line 83 The issue results from modules/ocl/src/cl_runtime/cl_runtime.cpp checking for "linux" instead of "__linux__" (cp. http://sourceforge.net/p/predef/wiki/OperatingSystems/) Adjust all other occurrences of "defined(linux)" as well.
49dfa5a1
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| dshow | ||
| ffmpeg_ | ||
| opencl/1.2/CL | ||
| msc_inttypes.h | ||
| msc_stdint.h |