not-fl3 / macroquad

Cross-platform game engine in Rust.
Apache License 2.0
3.4k stars 328 forks source link

can't compile on mac #548

Open konsumer opened 1 year ago

konsumer commented 1 year ago

I get this on mac (intel, ventura 13.0.1)

 = note: ld: framework not found AudioToolBox
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

rustc 1.64.0 cargo 1.64.0 (387270bc7 2022-09-16) macroquad = "0.3"

not-fl3 commented 1 year ago

I am pretty sure that this is the reason: https://github.com/not-fl3/quad-snd/commit/9f3ca6a1bcebf6adf0485d2448d788b6c59aeedf

but, somehow, changing it from AudioToolbox to AudioToolBox fixed iOS linking errors 🤔