nannou-org / nannou

A Creative Coding Framework for Rust.
https://nannou.cc/
6.03k stars 305 forks source link

Unable to build any examples on OS X #645

Open batchku opened 4 years ago

batchku commented 4 years ago

I'm working on OS X (10.15.5) with the latest rus, cargo, and Nannou. I don't appear to be able to build any of the examples; I have tried a handful. Following the advice in this issue, I have commented out nannou_audio and nannou_laser from examples/Cargo.html. But I continue to get errors when building.

Here are some examples:

cargo run --release --example simple_ui

or

cargo run --release --example draw

...results in:

error: failed to run custom build command for `objc_exception v0.1.2`

Caused by:
  process didn't exit successfully: `/Users/ali/Documents/Development/nannou/target/release/build/objc_exception-da73fe3cf5966233/build-script-build` (exit code: 1)

klochowicz commented 4 years ago

I tried to reproduce this issue, I have managed to compile both mentioned example on a fresh clone of nannou master without problems (up-to-date rust, compiles on both stable & nightly, the only difference seems to be my macOS version - 10.15.6...). Oh, and I did not need to comment out anything anymore - seems like that issue has been fixed recently.

kneitinger commented 4 years ago

@batchku did you follow this step in the guide to install the xcode tools?

batchku commented 4 years ago

I did. My xcode tools are all setup for several other use cases besides nanou.

I'm able to build run examples in linux; just can't get them working on OS X...

On Wed, Sep 30, 2020 at 11:15 PM Kyle Kneitinger notifications@github.com wrote:

@batchku https://github.com/batchku did you follow this step in the guide https://guide.nannou.cc/getting_started/platform-specific_setup.html to install the xcode tools?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nannou-org/nannou/issues/645#issuecomment-701912140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD6RVB7KBNVFS2CSZH2YQLSIQNAXANCNFSM4QI3SB6A .