- Install Rust
- Install portable Build Tools or Visual Studio 2022
- Install Git
- Build environment based on bash scripts. Assuming further commands executed from bash -
$
- Build environment based on bash scripts. Assuming further commands executed from bash -
- Install CMake
- Install Ninja
- Install Rust
- Install Xcode from App Store or Command Line Tools for Xcode and then select SDK:
$ [sudo] xcode-select --install- Install Git
$ brew install git- Install CMake
$ brew install cmake- Install Ninja
$ brew install ninja- Build OCCT module
$ ./occt/build-occt.sh- Run
$ cargo run --releaseNOTE (Windows): Make sure to run build scripts from bash with MSVC environment, e.g.
%WINDIR%\system32\cmd.exe /c ""C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=x64 & start "" "C:\Program Files\Git\git-bash.exe""