-
Notifications
You must be signed in to change notification settings - Fork 98
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
Support for macOS 10.14 (Mojave) #75
Comments
It does not. In fact, the build has always targeted 10.9. Every single build flag points to 10.9 as a minimum. The latest MacOS versions seem incapable of targeting 10.14 or below, and the only thing that worked for me in the past was compiling these natives on an ancient Macbook running High Sierra. This laptop is completely dead now, so there's no way for me to do that. |
@Anuken: ah, yes. Figured it was something in the build environment for these prebuilt files, rather than in the source code. I hear you on outdated and failing hardware. Only clinging on to this old installation to play games which broke when the "new 10.15" was released. Seems the issue is now that the "old 10.14" isn't supported... It'd be nice to know if there's another compatibility flag or workaround available, but this issue may be closed at your convenience as that seems unlikely. |
@Anuken: by the way, which is the effective minimum macOS version now? The Steam store page for Mindustry still says 10.9, but guess that'll change when v7 stable is publicly released. |
I've tried many different flags & build types, but none of them made a difference. You could try compiling it yourself ( |
Sure! brew install ant sdl2 glew
# NOTE: using OpenJDK.
brew install openjdk
export PATH="/usr/local/opt/openjdk/bin:$PATH"
./gradlew backends:backend-sdl:jnigenBuild With the rebuilt Unsure if the output is useful for non-10.14 users but feel free to cherry-pick the commit, or ask and I'll create a pull-request with the same. Seems like something which might be possible to automate on a cloud build farm with macOS support, right? Outdated arm64 build detailsSeems @Anuken performed the same (effective) change in Build failed for arm64 with Have some (presumably outdated) build tools on this old macbook, but arm64 supports seems to require something newer. Reinstalling/updating Apple's Command Line Tools didn't bring arm64 support, and the latest XCode in the App Store says 10.14 isn't supported. ./gradlew backends:backend-sdl:jnigenBuild with arm64
|
I had someone test it on a 10.13 machine, and it appears to work - looks like an issue specific to compilation on Catalina and above. I'll use the dylib from your branch, thanks.
Github Actions doesn't support anything below Catalina as far as I'm aware, and I don't know what other services to use. |
Running Arc on macOS 10.14 (Mojave) broke recently. The issue seems to stem from a recently released precompiled
libsdl-arc64.dylib
.Other open source projects have reported this error on macOS 10.14 when the build targets macOS 10.15.
Could
libsdl-arc64.dylib
(and potentially other prebuilt library files) be rebuilt with support for macOS 10.14?Discovered when running Mindustry; v129.1 works, issue starting at v129.2, still exists in v131. Verified using Steam
v7-testing
v131,mindustry-macos-unstable.zip
v131,Mindustry.jar
from github releases v129.1-v131, and local builds.The specific commit introducing the issue in Mindustry seems to be Anuken/Mindustry@d855840 (updating
archash
) referencing Anuken/Mindustry#5672 (proposes changes in window handling).The
archash
change points to the issue stemming from this repository.libsdl-arc64.dylib
The text was updated successfully, but these errors were encountered: