dtaralla / rrise

A Rust binding for Wwise
Other
13 stars 4 forks source link

MacOS Support #4

Open Maufeat opened 1 year ago

Maufeat commented 1 year ago

Hey,

i've got it to compile on MacOS release.

Note: only works with RUSTFLAGS="--cfg wwrelease" and --release at the moment, will edit it later after some more testing.

dtaralla commented 1 year ago

Thank you for looking into this, it might help others. Note that I won't be able to support it officially, as I don't have any means of testing it continues to build so you'll have to own the MacOS feature. I'll do my best efforts to not break it in future updates, but can't guarantee it!

Maufeat commented 1 year ago

I've fixed the issues mentioned above. I am sorry, this was my first time touching bindgen and had no idea where binding.rs was generated so I generated one in the root of the project.

Maufeat commented 1 year ago

And I've tested everything, it works with the bevy example usage. After 4 days of trying to get it working 😄 I will create a MacOS branch in bevy-rrise asap.