Difference between revisions of "Talk:MacOS"

From Armagetron
m
 
Line 1: Line 1:
 +
== Building on ARM Macs ==
 +
 
To build the desktop client for ARM Mac (trunk from GIT), I needed to do the following:
 
To build the desktop client for ARM Mac (trunk from GIT), I needed to do the following:
  
Line 19: Line 21:
 
Not sure if PATH or CPATH did the trick.
 
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.
+
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.  
 +
 
 +
— [[User:G5|G5]] 11:03, 7 January 2023‎ (UTC)

Latest revision as of 14:01, 6 April 2023

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)