Skip to content

Compiled for Apple Silicon #1809

@MacThings

Description

@MacThings

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions