📺 OpenCV C++ Mac M1 Installation Tutorial Video
We need homebrew installed in our system
brew install cmake
mkdir Open_CV && cd Open_CV
git clone https://github.com/opencv/opencv.git
mkdir build && cd build
cmake ../opencv/ .
arch -arm64 cmake ../opencv/ -DWITH_QT=OFF -DWITH_OPENGL=OFF -DFORCE_VTK=OFF -DWITH_TBB=OFF -DWITH_GDAL=OFF -DWITH_XINE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_ZLIB=OFF -DBUILD_TESTS=OFF .
arch -arm64 sudo make -j 4
arch -arm64 sudo make install
Thank you for the reply! Yes I am using the latest macOS (Sonoma 14.5 arm64) with a clean install from 2 weeks ago. So as for as I know from partial discussion in opencv/opencv#25625 and opencv/opencv#25625, an update is needed for the opencv repo, and it's not an issue of my environment, isn't it? Anyway, thank you for remaindering me here. I could offer any help if action is needed.