Hi.
Has anyone out there tried to compile Darwin rogue (http://
sourceforge.net/projects/roguedarwin/, for Mac OS X)? If I try to open
the project in Mac OS X 10.5 with XCode 3, it tells me that it can't
find the libstdc++ library. So I add
SDKs/MacOSX10.5.sdk/usr/lib/
libstdc++.6.0.4.dylib and everything compiles, but I always get the
same game each time. Obviously, this indicates that the random number
generator isn't being seeded properly, but if I step through the code
in debug mode, I can see that srrandom() is being seeded with the
system time. It's as if the release version is being seeded with the
time since the application started or something.
Also, I can't make it run from the debugger. The console says:
[Session started at 2008-05-29 10:54:34 +0800.]
Hello richard, just a moment while I dig the dungeon...Error
opening terminal: unknown.
The Debugger has exited with status 1.The Debugger has exited with
status 1.
Thanks for any help.