Dungeon Dilettante
Posts: 2
Joined: Tuesday, 21st May 2013, 14:54
Problems compiling for Windows: tilegen.elf crashes
I've figured out the basics of downloading the source from git and getting all the various dependencies set up, and it compiles and runs fine on my Ubuntu installation. However, I typically spend most of my time on Windows (win7 64-bit, in case it matters), and I'd like to to compile the source there as well.
I managed to get it to work once after downloading a lot of software (git, minGW, msys, perl, and I don't even remember what else), but then I foolishly decided to delete that copy in order to monkey around in the source files. (I admit, I wanted to try cheating by boosting a few racial aptitudes and so forth.) Now I'm getting errors every time I try to compile the game, whether the unmodified .12 source or the current version that git downloads. Both regular 'make' and 'make TILES=y' fail with the same behavior, and I've tried 'make clean' several times with no luck.
Specifically, the make command seems to be successful (though it does pop up an awful lot of "No prior declaration of foo_variable" warnings) until the rltiles directory comes up. Somewhere between "HOSTLINK tool/tilegen.elf" and "GEN main.png", a Windows error box pops up and informs me that tilegen.elf has crashed. The make command then gives an Error 5, leaves the directory and gives an Error 2, then stops. Again, this is with unmodified code, so I don't think any changes I attempted to make are involved. At least, I hope not.
Anyone know what is going wrong? Am I somehow missing a dependency type file somewhere? Like I said, it works fine in Linux and worked fine earlier today, but now I can't get it to work.