Joined: 06 Oct 2007
|Posted: Fri Nov 12, 2010 7:51 pm Post subject: A quick question about compiling in Linux
|Here is a quick question to the programmers out there.
Well, I decided to take a stab at compiling a Linux binary of WinROTT... I have very little experience with large C projects so my knowledge on how to compile and link many a file is quite limited... So instead I tried some old code that was supposed to compile under Linux. After decimating the code so that it would compile. (GCC really doesn't like multiple declarations with different states, so a lot of functions threw errors since they were declared as static in one place and not in another.)
It also had a problem with the Midi functionality, so I edited that a bit as well... In the end I managed a successful compile, and I wanted to test it. It initialized well with no data files, but after I tried to execute the code with data files in the same folder, it would throw an error at my term.
|W_Wad: Wad Manager Started NUMLUMPS=3904
OH NO OH NO ROTT CRASHED!
Here is where:
It appears as if it is having problems with some of my modules when initializing the WAD file... So I looked at the code to check what was happening, and couldn't find much. Anyone know what's up with the way WinROTT handles it's data file?
I will probably post a patch file in a bit for those who want to try and see what's up, and what was changed.
-Swim, swim, hungry