Compiled for Apple Silicon
Hi Folx.
I managed to compile s25client native for Apple Silicon.
You need homebrew installed with the specific dependencies. And than compile it this way:
mkdir build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_ARCHITECTURES=arm64 \
-DCMAKE_PREFIX_PATH="/opt/homebrew" \
-DENABLE_TESTS=OFF \
-DCMAKE_CXX_FLAGS="-std=c++17 \
-Wno-error=missing-noreturn \
-Wno-error=deprecated-copy \
-Wno-error=unused-parameter \
-Wno-error=undef \
-Wno-error=cast-qual" ..
make -j$(sysctl -n hw.ncpu)
That´s it.
You can get Nightly Builds now here: https://www.slsoft.de/s25client/
On 14.5 (23F79), I´m getting "You can’t use this version of the application “s25client-arm64” with this version of macOS."
@thomasf1 Sadly it seems to work with min. 26.x only. Can't get it to compile for previous versions because of "too new" Dependencies. Perhaps the Deps are working on previous OS's .... you could try it.
However .... I started a Nightly Builds Page for the ARM Version:
https://www.slsoft.de/s25client/
I fixed the missing dylibs errors from my old Github Release.