-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unable to build Terasology on M1 Mac. #5055
Unable to build Terasology on M1 Mac. #5055
Comments
For what it's worth, I tried to use the Terasology Launcher for Mac (4.5.0 from the website) as well, but it showed me a rectangular window with a progress bar, and then disappeared entirely. Unsure why that occurs, but the launcher doesn't really work either as a result. |
Yeah, we could use some help on that front. I don't think any of the recent devs have an M1 (though Cerv can sometimes test things out). I didn't even realize there were JDKs that had backported M1 support to Java 11! I was afraid we'd need to get the migration to Java 17 done before we could even start on M1. See #3976 |
Hmm. For what it's worth, if you can upgrade the Google Protobufs dependency, it's provided in later versions, see the maven release here: https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.19.2/ That might fix it; I'll probe it later when I have some time and report back. |
Gets a bit further, but encounters another shared library that can't be loaded.
|
I made some progress with building on M1 (see draft #5085 ) However to completely finish the build there are still remaining issues. I got stuck on:
And later in the build also:
I'll continue trying, however any help or hint is welcome. |
@skaldarnar see above fyi |
lets close this one and open dedicated issues in case they arrive? |
General Info
Terasology Launcher Version: N/A
Terasology Version: Git
fbc40c3fe2cf0c605f950c19e6c021f43aa43c05
Operating System: macOS Monterey 12.4
Onboard / Dedicated Graphics: It's a M1
Java Version: openjdk 11.0.15 2022-04-19 LTS
What you were trying to do
Run the game per the instructions provided on the main readme page.
What actually happened
During the run of
./gradlew game
:How to reproduce
fbc40c3fe2cf0c605f950c19e6c021f43aa43c05
./groovyw module init iota
./gradlew game
Watch as it fails to build for M1 Mac with error above.
Log details
https://pastebin.com/12tVEmbd
Screenshots
N/A
Workaround
Have not had the time to test any workarounds. Checked the Google protobuffs website and did not find a version of the package that failed to download for an ARM based Mac.
Additional Infos / Context
I'm using the Amazon Corretto Java 11 JDK for the macOS system that uses the native aarch64 binaries. I have not tried compatibility mode.
The text was updated successfully, but these errors were encountered: