My attempt to create a Gameboy Emulator with Rust
- Download the dmg files for both the links above
- Once you mount the dmg, extract the folder with the suffix of
.framework
- Move the those folders into
/Library/Frameworks
- In you're rust project with in the
Cargo.toml
add:build = "build.rs"
under[package]
- [dependencies.sdl2] and under that add
version = "*"
and below that addfeatures = ["use_mac_framework", "ttf"]
- Create a new file in the root of the project with add the contents below:
fn main() {
println!("cargo:rustc-link-search=framework=/Library/Frameworks");
}