Talk:MacOS: Difference between revisions

From Armagetron Advanced
G5 (talk | contribs)
Building ARM Mac client
 
Armanelgtron (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
To build the desktop client for ARM Mac, I needed to do the following:
== 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"
1. protobuf libs not found during "configure"
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)