-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS Apple Silicon build #447
Comments
@naymapl AC's launcher expects to be packaged in a very specific way. When building I'll tend to not build the launcher. You can choose what product gets built by going to xcode -> Product -> Scheme and select assault cube: You will then notice a different error. It won't be able to find the packages dir. To fix this you can edit the scheme. Go to the Product -> Scheme menu again and select edit scheme. In here you can select a custom working directory. Here you can either make a new directory, copy the packages and config folders into it, or you can just be lazy and select the top level AC repository. |
If you manage to build this, I would love it! |
The other issue is all the linker errors when building on arm64, probably due to some included precompiled frameworks only having x86-64 symbols. To resolve that, I had to first get the libs from MacPorts using After building in release mode like RonaldReagan said, it worked! I got a .dmg containing a fully arm64-native launcher and inner assaultcube.app. Seeing better fps on my M1 mini, for example the notoriously laggy custom map ac_syria sticks close to 200fps compared to 120fps on the Intel build. |
Hello.
I want to build macOS arm version of your game. How to build it ? Is it use cmake and make to build and where I find files for build and instruction/manual. Thank you so much for help.
Ok I found
assaultcube.xcodeproj
file and try to build but got error:Where fo find and where to place game data ?
The text was updated successfully, but these errors were encountered: