brew为macOS arm安装OpenCV 我使用MaCOS ARM,使用这个命令安装C++的OpenCV: brew install --build-from-source OpenCV
下载包已完成,然后出现以下错误:brew为macOS arm安装OpenCV 我使用MaCOS ARM,使用这个命令安装C++的OpenCV: brew install --build-from-source OpenCV,macos,opencv,arm,homebrew,Macos,Opencv,Arm,Homebrew,下载包已完成,然后出现以下错误: ==> Installing OpenCV Error: An exception occurred within a child process: RuntimeError: Unexpected architecture: arm64. This only works with Intel architecture. 你能帮我吗?克隆源代码 git clone https://github.com/opencv/opencv.git 创建生成目
==> Installing OpenCV
Error: An exception occurred within a child process:
RuntimeError: Unexpected architecture: arm64. This only works with Intel architecture.
你能帮我吗?克隆源代码
git clone https://github.com/opencv/opencv.git
创建生成目录
mkdir -p build && cd build
配置
cmake ../opencv
建造
cmake --build .