Skip to content

Attempt at making bindings for Modo LXSDK, COM interface

Notifications You must be signed in to change notification settings

rondreas/lx-sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lx-sys

Unsafe bindings for LX SDK from The Foundry, Modo.

Building

Download the SDK from The Foundry, if you have a Foundry user visit their Product Downloads and get the latest Modo Developer SDK.

You will also need to install LLVM if you don't have this installed already as it is a requirement for bindgen

Set the environment variable LX_INCLUDE to the path where LXSDK has the headers. .../lxsdk_{build_number}/include

You can create a .cargo folder at the root of the crate, then make a config.toml in there like

[env]
LX_INCLUDE = {value = "C:/Users/myname/Downloads/lxsdk_661446/include", relative = false }

The build.rs will attempt for search for all .h files and add them as #include to the wrapper.h at the root of cargo.

Useful Links

https://rust-lang.github.io/rust-bindgen/introduction.html https://fitzgeraldnick.com/2016/12/14/using-libbindgen-in-build-rs.html

About

Attempt at making bindings for Modo LXSDK, COM interface

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages