Skip to content

venhelhardt/rust-occt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-occt

Pre-requisites

Windows

  • Install Rust
  • Install portable Build Tools or Visual Studio 2022
  • Install Git
    • Build environment based on bash scripts. Assuming further commands executed from bash - $
  • Install CMake
  • Install Ninja

MacOS

$ [sudo] xcode-select --install
$ brew install git
$ brew install cmake
$ brew install ninja

Build

  • Build OCCT module
$ ./occt/build-occt.sh
  • Run
$ cargo run --release

NOTE (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""

About

Rust OCCT interop demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors