尝试在运行Mohave的Mac上安装opencv时收到致命错误。
错误是:
[ 19%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/dxt.cpp.o
In file included from /Users/.../opencv/modules/core/src/dxt.cpp:44:
In file included from /Users/..../opencv/modules/core/include/opencv2/core/opencl/runtime/opencl_core.hpp:68:
/Users/..../opencv/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp:99:10: fatal error:
'OpenCL/cl.h' file not found
为什么找不到OpenCL?我应该分开安装吗?