Welcome to GameHourz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Trouble compiling Vanilla on Mac

 
   Game Forums (Home) -> Roguelike -> Angband RSS
Related Topics:
Bug in vanilla 3.0.9 - Hi all. Penance comic made me try bookless hobbit mage. For that I 3.0.9 which is causing me some Can anyone explain to me why Vanilla 3.0.9 macro # Macro '63' P:[F1] works but

Compiling Angband variants on Unixes - Hi I've started packaging a few roguelike games for the Debian Linux I'd like to package some Angband variants as well, but a lot of them seem to require a lot of Makefile tweaking to compile properly on Unix So if..

[vanilla] best race for a Ranger? - I have beaten the game twice already, with a Gnome Mage and a Dwarf Priest. I am now working on an Dunadan Warrior (around dlevel 55 or so), and I think after this I will try a Ranger. But I don't know which Race to choose for my Ranger, what are the..

A simple question (Vanilla) - What does aggravate do? I find it easy to in Nethack, where some monsters are peaceful, but not in Angband. Thanks Darth.

[vanilla] which of these two heavy crossbows is better - I'm not sure which of these is better to use: Heavy Crossbow of Extra Might +10, +18 Heavy Crossbow of Extra Shots +13, +11 I can see that the former has higher damage potential per shot, but the latter gets 2 shots per round. What do you all
Next:  Angband: (O) store bug  
Author Message
Aaron J. M.

External


Since: Nov 14, 2007
Posts: 6



(Msg. 1) Posted: Mon Feb 04, 2008 5:07 pm
Post subject: Trouble compiling Vanilla on Mac
Archived from groups: rec>games>roguelike>angband (more info?)

It's been several years since I've last played Vanilla Angband, so I
just grabbed the most recent sources off angband.oook.cz and tried
compiling.

I'm on Mac OS X 10.5. I did ./configure through Terminal, which
seemed
to work. I then typed make. Eventually I get these errors:

-----

In file included from /usr/X11/include/X11/Xlib.h:52,
from main-x11.c:107:
/usr/include/sys/types.h:92: error: duplicate 'unsigned'
/usr/include/sys/types.h:92: error: two or more data types in
declaration specifiers
make[2]: *** [main-x11.o] Error 1
make[1]: *** [build] Error 2
make: *** [build] Error 2

-----

Now, I'm not *that* much of a Unix expert, so I'm not sure how to
decifer this. Do any of you recognize this?

 >> Stay informed about: Trouble compiling Vanilla on Mac 
Back to top
Login to vote
pete m

External


Since: Nov 15, 2007
Posts: 45



(Msg. 2) Posted: Mon Feb 04, 2008 5:32 pm
Post subject: Re: Trouble compiling Vanilla on Mac [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Feb 4, 5:07 pm, "Aaron J. M." <ajm... DeleteThis @ns.sympatico.ca> wrote:
> It's been several years since I've last played Vanilla Angband, so I
> just grabbed the most recent sources off angband.oook.cz and tried
> compiling.
>
> I'm on Mac OS X 10.5. I did ./configure through Terminal, which
> seemed
> to work. I then typed make. Eventually I get these errors:
>
> -----
>
> In file included from /usr/X11/include/X11/Xlib.h:52,
> from main-x11.c:107:
> /usr/include/sys/types.h:92: error: duplicate 'unsigned'
> /usr/include/sys/types.h:92: error: two or more data types in
> declaration specifiers
> make[2]: *** [main-x11.o] Error 1
> make[1]: *** [build] Error 2
> make: *** [build] Error 2
>
> -----
>
> Now, I'm not *that* much of a Unix expert, so I'm not sure how to
> decifer this. Do any of you recognize this?


You are building the unix version of Angband. It should work, and it
needs to be fixed. However, there is a .app version that you build
with

$ make -f Makefile.osx

 >> Stay informed about: Trouble compiling Vanilla on Mac 
Back to top
Login to vote
Aaron J. M.

External


Since: Nov 14, 2007
Posts: 6



(Msg. 3) Posted: Mon Feb 04, 2008 7:15 pm
Post subject: Re: Trouble compiling Vanilla on Mac [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ah. Much better.

I'm surprised though that there's no Mac binary on the download page
yet. Should I maybe send my binary to someone?
 >> Stay informed about: Trouble compiling Vanilla on Mac 
Back to top
Login to vote
Big Al

External


Since: Jan 03, 2008
Posts: 2



(Msg. 4) Posted: Tue Feb 05, 2008 11:48 pm
Post subject: Re: Trouble compiling Vanilla on Mac [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2008-02-05 04:15:49, "Aaron J. M." <ajmacd RemoveThis @ns.sympatico.ca> wrote:

> Ah. Much better.
>
> I'm surprised though that there's no Mac binary on the download page
> yet. Should I maybe send my binary to someone?

There is a mac binary on angband's official page (http://rephial.org), but not
on the download page on oook. Perhaps pav could add it?

Alex
 >> Stay informed about: Trouble compiling Vanilla on Mac 
Back to top
Login to vote
roustk

External


Since: Feb 02, 2008
Posts: 3



(Msg. 5) Posted: Mon Mar 10, 2008 9:44 pm
Post subject: Re: Trouble compiling Vanilla on Mac [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2008-02-05 02:07:13, "Aaron J. M." <ajmacd.TakeThisOut@ns.sympatico.ca> wrote:

> It's been several years since I've last played Vanilla Angband, so I
> just grabbed the most recent sources off angband.oook.cz and tried
> compiling.
>
> I'm on Mac OS X 10.5. I did ./configure through Terminal, which
> seemed
> to work. I then typed make. Eventually I get these errors:
>
> -----
> In file included from /usr/X11/include/X11/Xlib.h:52,
> from main-x11.c:107:
> /usr/include/sys/types.h:92: error: duplicate 'unsigned'
> /usr/include/sys/types.h:92: error: two or more data types in
> declaration specifiers
> -----
>
> Now, I'm not *that* much of a Unix expert, so I'm not sure how to
> decifer this. Do any of you recognize this?
>

For what it's worth, I have identified this problem (and
reported it on trac).

In main-x11.c, around line 100, we have the following line:
#define uint unsigned int

Change that line to:
typedef unsigned int uint;

Now X11 angband compiles on MacOS just like on unix.

Kevin
 >> Stay informed about: Trouble compiling Vanilla on Mac 
Back to top
Login to vote
Display posts from previous:   
   Game Forums (Home) -> Roguelike -> Angband All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]