Forum:Cannot compile Nethack/SlashEm using tiles.

From NetHackWiki
Revision as of 13:41, 27 April 2013 by Bulwersator (talk | contribs) (formatting fix *->:)
Jump to navigation Jump to search


I've been trying to compile NetHack and Slash'Em from the source files but cannot get them to compile with the graphical tile set.

I am using Windows 7, unpacked the source files using 7-Zip and used MinGW to compile. My goal is to play a slightly modded Slash'Em with the graphical tile set.

Everything compiles and works fine when I leave the graphical options on default.

I followed everything in the Compiling topic, including moving and editing rpcndr.h for NetHack.

For Slash'Em, I followed the instructions provided:
Run the Setup file in \sys\winnt
Change the Makefile and config.h to use/define MSWIN_GRAPHICS
Run the install.bat I made (almost the same as the one mentioned in the NetHack compile guide)

When that didn't work, I tried various things I saw mentioned in posts/forums/whatever I thought might do it... Of the stuff I can remember:
I tried moving and editing rpcndr.h as mentioned in the NetHack wiki compile guide.
I tried copying win32api.h to \src and \include as mentioned in the wiki's Ask an Expert #5
I tried both of the previous things at once.
I tried a solution for a corrupted tiles.bmp mentioned on the old wiki. (Something about the compiler writing tiles.bmp two bytes too long)
I tried placing gltile16.png and gltile16.map from normal Slash'Em install into the folder that is supposed to hold the compiled SlashEm.

Another question, possibly related to this or may help out, is it possible to get a log of the compile?

Thank you for listening and possibly helping me out. 206.239.33.97 02:26, 27 April 2013 (UTC)

"When that didn't work" - what exactly happened? Game compiled without tiles? Compile failed (how?)? Produced exe crashes on start? Computer exploded? Bulwersator (talk) 05:12, 27 April 2013 (UTC)
(Just a little note: @IP: you might want to use some kind of list for those <br>-separated lines. @Bulwersator: Please remember to use :'s for talk page indentation.)
What is the output from the compiler/how does it not work, as Bulwersator asked?
(To get a "log", you could redirect output somehow, I suppose, or just copy the output from the compiler.) —bcode talk | mail 11:38, 27 April 2013 (UTC)