After massacring makefiles and things for a bit I managed to compile what might be a GNU Curses version of Zangband 2.7.5.1 or whatever under Cygwin, but when trying to run it I get "Fatal Error."
In an earlier thread where this kind of thing came up, backwardsEric said "Fatal Error" means it can't find the "libs" directory. Running it with "-help" says it has a command line option along those lines
but I can't figure out how to use that. If anyone has any suggestions, I'd very much like to hear them. : )
Update:
src/z-config.h has two options that may be relevant to the lib thing:
DEFAULT_PATH
This defaults to "./lib/" but recommends that you change it to "the actual location of the 'lib' folder." Mine is under my Cygwin home, ~/zangband/lib/, so I tried setting it to "/zangband/lib/" before compiling, but "Fatal Error" persists.
FIXED_PATHS
This apparently "prevents usage" of the '-d<what=path' command line option. I tried commenting it out--but I still have no idea how to use -d, and it is giving me the same "bad semantics" and so forth errors when I try to guess at it.
In an earlier thread where this kind of thing came up, backwardsEric said "Fatal Error" means it can't find the "libs" directory. Running it with "-help" says it has a command line option along those lines
Code:
-d<def> Define a 'lib' dir sub-path
Update:
src/z-config.h has two options that may be relevant to the lib thing:
DEFAULT_PATH
This defaults to "./lib/" but recommends that you change it to "the actual location of the 'lib' folder." Mine is under my Cygwin home, ~/zangband/lib/, so I tried setting it to "/zangband/lib/" before compiling, but "Fatal Error" persists.
FIXED_PATHS
This apparently "prevents usage" of the '-d<what=path' command line option. I tried commenting it out--but I still have no idea how to use -d, and it is giving me the same "bad semantics" and so forth errors when I try to guess at it.
Comment