s25client icon indicating copy to clipboard operation
s25client copied to clipboard

Compiled for Apple Silicon

Open MacThings opened this issue 3 months ago • 2 comments

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/

MacThings avatar Oct 16 '25 20:10 MacThings

On 14.5 (23F79), I´m getting "You can’t use this version of the application “s25client-arm64” with this version of macOS."

thomasf1 avatar Oct 24 '25 23:10 thomasf1

@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.

MacThings avatar Nov 02 '25 13:11 MacThings