Trouble compiling and executing on Mac
I noticed there are no downloads for Mac so I tried running cargo build
on my M2 Macbook to see what happened. Vismut seemed to compile fine but I can't run the executable. I get these errors:
% target/debug/vismut
2023-03-06T01:53:33.988810Z INFO bevy_render::renderer: AdapterInfo { name: "Apple M2", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
2023-03-06T01:53:33.994637Z WARN bevy_asset::asset_server: encountered an error while reading an asset: path not found: /Users/pdurbin/github/vismut/vismut/target/debug/assets/shaders/alpha_checkerboard.wgsl
thread 'Compute Task Pool (2)' panicked at 'Error parsing "inter" TTF/OTF font file: InvalidFont', /Users/pdurbin/.cargo/registry/src/github.com-1ecc6299db9ec823/epaint-0.20.0/src/text/fonts.rs:198:27
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/pdurbin/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_tasks-0.9.1/src/task_pool.rs:273:45
thread '<unnamed>' panicked at 'other end hung up: RecvError', vismut/src/vismut.rs:50:43
I'm not a Rust developer so please forgive me if I'm doing this completely wrong! That is, I'm not even confident that target/debug/vismut
is the correct executable! In the CI script I see stuff like cp target/$TARGET/release/vismut $FOLDER
so I started poking around in target
(which I'm used to from Java).
This is the commit I'm on: 05366c02
I'm on macOS 13.2.1 with an M2 chip.
I also opened this topic: https://vismut.zulipchat.com/#narrow/stream/314717-help/topic/Trouble.20executing.20on.20Mac/near/339765843
Edited by Philip Durbin