Talk:MacOS

From Armagetron

Building on ARM Macs

To build the desktop client for ARM Mac (trunk from GIT), I needed to do the following:

1. protobuf libs not found during "configure"

In configure.ac I added

LDFLAGS="-L/opt/homebrew/lib $LDFLAGS"

2. protobuf includes not found during "configure"

I added to env variable CPATH and PATH

CPATH=/opt/homebrew/lib:/opt/homebrew/include

by calling

export CPATH="$CPATH:$(brew --prefix)/include"

Not sure if PATH or CPATH did the trick.

Then, with a lot of warnings, I was able to build the client and it works. So far I found one glitch I do not understand: Switching between window and fullscreen works when using the menu, but not if using the hotkey.

G5 11:03, 7 January 2023‎ (UTC)