adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-devel] mac os x port - success stories


From: Alexandre Courbot
Subject: Re: [Adonthell-devel] mac os x port - success stories
Date: 01 May 2002 10:29:34 +0200

> Anywayz, I'd like to think I've gotten quite far. I've managed to get it 
> compiled and working... sort of. When I run waste's edge, the intro 
> starts nicely... but there are problems. For some odd reason or another, 
> it won't accept keyboard input (although i can use the arrow keys to 
> start and load games, and also quit at the main menu) I can't define a 
> name, but I can delete the default name. After the intro, all i see is a 
> house roof and some grass... after that i can *nothing*.

Ah, when you just see the house roof and some grass, this means the
mapview is looking at (0, 0), that is, it is not centered on the
character it should target. To be more precise, the mapview schedule
isn't loaded correctly. You certainly had error messages about this in
the console (or whatever stdout is outputted to on macos - under Windows
it's a file named stdout.txt/stderr.txt).

We met exactly the same problem under Windows. This has been fixed by
using a more standard way to reference modules, so it should work on
macosx too. But of course, the released version doesn't include this
change yet. Where have you got your sources? From CVS, or have you
downloaded a release? If you want so, I can put a tarball with the
latest sources somewhere so you can work with the latest sources without
messing with CVS.

> d) I made a few changes... since OS X doesn't have getopt.h (but it 
> seems to have getopt as a program), I commented out the include 
> statement in prefs.cc for that header.

Uh, we just added getopt.h into the source tree, as Windows doesn't have
it neither. So it should find it, provided your source copy is recent
(less than 2-3 days)

> Thane, in the make file, i had to get rid of the -E option for 
> /usr/local/bin/ld (or was it /usr/bin/ld ?) since it didn't like that.

Ah, that's something we should notice at configure time. Isn't libtool
supposed to take care of that?

> f) finally, to make things a little cleaner, I added symbolic links in 
> /sw/bin for /usr/local/bin/adonthell and adonthell-wastesedge

Does programs need to be in /sw/bin on macos? Then we could fix that at
configure time too.

> Any ideas? It seems I'm quite close....

You are! :) Actually, if you worked on a release, just getting the
latest source might be enough to get it to work! :)

Alex.
-- 
http://www.gnurou.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]