1/29/2024 0 Comments Olliolli 2 scene 5To install NetHack to /usr/games/, type make install while you're logged in as root.Typing make all will compile everything, including special levels. Typing make in the NetHack source root dir should compile the binary executable.#define STRNCMPI /* compiler/library has the strncmpi function */ If you are using cygiwn, edit include/config.h and uncomment the following like so.If you're using something else than yacc and lex, edit util/Makefile so that YACC and LEX defines are correct.Edit src/Makefile by commenting the following like soĪnd uncommenting this line so it looks like.Execute the script that moves the Makefiles to the correct places:.Unpack the NetHack sources and move to the NetHack source root directory:.Open a terminal, and cd to the directory where you downloaded the source package to.You will also need make, gcc, yacc (or something similar, for example bison), and lex (or something similar, such as flex). On debian these are called libncurses5-dev. Make sure you have the development packages for ncurses installed.The following compiles the TTY-version of NetHack, with all the default settings. If you want to patch your NetHack, you should next see the article on patching.The NetHack binary should now be in c:\nh343\binary\.Go to c:\nh343\ and create a new file called 'install.bat' with the following contents:.This should allow the compile to commence with minimal errors. Edit c:\nh343\include\rpcndr.h by removing or commenting out line 52: "typedef unsigned char boolean ". ![]() To remedy this, copy rpcndr.h from c:\MinGW\include\ to c:\nh343\include\. NOTE: The latest MinGW (5.1.3 as of writing) has issues compiling the GUI version of the program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |