Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old December 28, 2021, 18:04   #1
Bogatyr
Knight
 
Join Date: Feb 2014
Posts: 507
Bogatyr is on a distinguished road
MacOS prebuilt nightlies, building from source?

Hi,
Are MacOS prebuilt nightlies available anywhere?

I tried cloning from github and building according to the instructions (cd src; make -f Makefile.osx) but get a massive error spew. Is there some assumed compiler/SDK environment required? I previously did ios development a few years ago so have some random version of XCode installed.

First error:
CC cave.c
In file included from cave.c:19:
In file included from ./angband.h:18:
In file included from ./h-basic.h:108:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ctype.h:69:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_ctype.h:69:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:784:2: error: Unsupported architecture
#error Unsupported architecture
Bogatyr is offline   Reply With Quote
Old December 28, 2021, 19:29   #2
backwardsEric
Swordsman
 
Join Date: Aug 2019
Posts: 273
backwardsEric is on a distinguished road
Quote:
Originally Posted by Bogatyr View Post
Are MacOS prebuilt nightlies available anywhere?
They're at https://github.com/angband/angband/releases . Click on the triangle next to "Assets" for the release of interest to get the link to the *-osx.dmg file.

Quote:
Originally Posted by Bogatyr View Post
I tried cloning from github and building according to the instructions (cd src; make -f Makefile.osx) but get a massive error spew. Is there some assumed compiler/SDK environment required?
Recent versions of Makefile.osx try to build for both the x86_64 and arm64 architectures; the latter requires fairly recent versions of Xcode (within the last year and a half or so). To only build for x86_64 and likely avoid the problems you ran into, run this:

Code:
cd src; make -f Makefile.osx ARCHS=x86_64
backwardsEric is offline   Reply With Quote
Old December 28, 2021, 20:32   #3
Bogatyr
Knight
 
Join Date: Feb 2014
Posts: 507
Bogatyr is on a distinguished road
That make tweak did the trick, thanks. Would probably be good to add that to the building instructions at https://angband.readthedocs.io/en/la...ml#debug-build
Bogatyr is offline   Reply With Quote
Old January 2, 2022, 22:14   #4
mrfy
Swordsman
 
Join Date: Jul 2015
Location: Seattle, WA
Posts: 295
mrfy is on a distinguished road
Upgraded my powerbook over the weekend to a new model, with the M1 Pro chip. Only issue I've seen so far with Angband is that it now asks repeatedly (about 4 times per save or load of savefile) to access the Documents folder.

Hitting OK 4 times seems to do the trick. Maybe it's doing it per file? I see it updated CharOutput.txt, lore.txt, mrfy (my savefile) and window.prf

But it doesn't record the preference so it asks again 4 times on next save.
mrfy is offline   Reply With Quote
Old January 2, 2022, 22:38   #5
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,319
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by mrfy View Post
Upgraded my powerbook over the weekend to a new model, with the M1 Pro chip. Only issue I've seen so far with Angband is that it now asks repeatedly (about 4 times per save or load of savefile) to access the Documents folder.

Hitting OK 4 times seems to do the trick. Maybe it's doing it per file? I see it updated CharOutput.txt, lore.txt, mrfy (my savefile) and window.prf

But it doesn't record the preference so it asks again 4 times on next save.
Yes, this is a known issue. Current workarounds are do what you're doing, or build yourself from source
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Odd problems building for MacOS Rolypoly890 Sil 2 November 13, 2020 02:42
macOS compiling for dummies davemcwish Development 2 June 4, 2020 21:56
HAlp )macOS version( Sky Vanilla 5 March 11, 2020 06:42
System Requirements - MacOS X? NotMorgoth Vanilla 6 February 13, 2011 03:37
PosBand for MacOS? Serith Variants 0 November 23, 2007 17:45


All times are GMT +1. The time now is 01:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.