Rust binding for SolveSpace's geometric constraint solver library.
A C compiler
The SolveSpace library is compiled using cc, which requires a C compiler.
libclang
Bindings from C to Rust are generated using bindgen, which requires libclang
. On Windows, the environment variable LIBCLANG_PATH
will need to be set, pointing to the location of the clang library.
Run the following Cargo command in your project directory:
shell
cargo add slvs
Check out any necessary submodules
shell
git submodule update --init --recursive
Run the build command
shell
cargo build