Build On MacOS
First install system dependencies
You'll need home-brew to install the packages
Once you have home-brew installed then run the following commands to install the package dependencies
brew install glfw3
brew install glew
brew install cmake
Download OpenVino Toolkit version 2022.1
Follow the installation instructions
After install run the OpenVino OpenCV Installer script:
/opt/intel/openvino_2022/extras/scripts/download_opencv.sh
Building With CLion IDE
- Open Project/Folder
- In Settings Panel in CMake section create a Release Build
- For CMake options set the following to ON or OFF based on what you want to build:
- -DBUILD_EXAMPLES=ON
- -DBUILD_EDITOR=ON
- -DBUILD_ENGINE=ON
- -DBUILD_PLUGINS=ON
- Then build all in release
Building With XCode
Open a terminal and cd to the repo directory
Then Run (Change build options as needed):
mkdir Build
cd Build
cmake .. -DBUILD_EXAMPLES=ON \
-DBUILD_EDITOR=ON \
-DBUILD_ENGINE=ON \
-DBUILD_PLUGINS=ON \
-DOpenCV_DIR=/opt/intel/openvino_2022/extras/opencv/cmake
cmake --build . --config Release j 8
** replace -j 8 with your number of CPUs you want to utilize for compiling