核心/ opencl /运行时/自动生成/opencl_core.hpp:99:10:致命错误

时间:2018-11-12 11:17:29

标签: opencv opencl

尝试在运行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?我应该分开安装吗?

0 个答案:

没有答案