mirror of
https://github.com/opencv/opencv.git
synced 2024-11-30 06:10:02 +08:00
49dfa5a17f
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. |
||
---|---|---|
.. | ||
cl_d3d10.h | ||
cl_d3d11.h | ||
cl_dx9_media_sharing.h | ||
cl_egl.h | ||
cl_ext.h | ||
cl_gl_ext.h | ||
cl_gl.h | ||
cl_platform.h | ||
cl.h | ||
cl.hpp | ||
opencl.h |