MaikKlein / unreal-rust

Rust integration for Unreal Engine 5
Apache License 2.0
2.11k stars 78 forks source link

Support for Mac #20

Open kristianmandrup opened 2 years ago

kristianmandrup commented 2 years ago

Hi,

I'm very excited about this project. I'm on a Mac OS, learning Rust and wanting to start working with Unreal. I'd obviously be very interested to see support for Mac OS as well. How can I help make this happen?

Cheers

kristianmandrup commented 2 years ago

Found this Setting up Unreal engine in M1 Mac for C++ game development tutorial

Includes VS Code UE intellisense fixes extension with releases

MaikKlein commented 2 years ago

You might need to check this https://github.com/MaikKlein/unreal-rust/blob/main/RustPlugin/Source/RustPlugin/Private/RustPlugin.cpp#L30-L35 I think on mac its actually "dylib" and not "so" for dynamic libraries. Other than that it "should" work. I assume unreal will also use clang to compile the plugin which is the same on linux.

You can mostly follow the linux getting started instructions, and maybe add a section for mac when you get it running.

kristianmandrup commented 2 years ago

Cool 😎 Thanks a lot 🙂