3.0.0 alpha 3 on Win32
I am having a problem compiling 300alpha3 on Windows XP. As far as I can tell I've followed all the info I've gathered from the net very carefully. I am using Dev-C++, SDL 1.2.8 and SDL-net (can't remember version) packages for it. I try to run a compile and I get several problems. I do admit, this is the first time I'm working with C/C++... I've been writing things in BASIC for a long time, and have a working knowledge of c++. When I unarchive the src files, and add the .devcpp and .dev files from another post about this here, I run it and it never compiles.
I get an error about an explicit declaration of 'quit' on line 153 in io.c Implicit declaration of 'alloca' in win32.c line 467 Integer constant is too large for "long" type on line 858 in win23.c
I don't want to list them all for I am still going through some of these warnings and errors to see what I can try and gleam.
If noone wants to give a step-by-step (which is understandable) a good push in the right direction would be helpful.
IainMac Have a try with my instructions at my page, which can be found at IainMac or you can go to the download area and get the prebuild binaries.
FROM ORIGINAL POSTER: comatose_dreams@yahoo.com
#1, sorry, I'll be signing up for a wiki account soon to make it easier to contact me
#2 IainMac, your's was the first post I read and followed. I'm still new to the compilers for c++ so i can't offer anymore info than that. I thought I'd start by trying to compile it without any changes, straight out of the tar.bz2 archive. No go. I have a few changes I want to make that I don't think can be done with a module.
Now...I also know it's been a while since I've done more than just a routine maintenance on my system. I'm about to back up some of my important projects and files and just reinstall windows soon.
I just don't understand why vanille ToME 3.0.0 alpha 3 is not compiling... and I have played it, I have the windows binaries, but like I said...I want to change a couple things.
Still doing research though. Do you know of any good sites that would get me going better? Seems like I can't get c++ too well or anything else after BASIC... Habits die hard... (and I'm only 24 for christ's sake!!!)
NeilStevens: If you want to make your own game, with changes to how things work, you should make a module. Write your changes in lua. No compilation needed. That's the whole point of the ToME 3 development effort.
comatose_dreams@yahoo.com: okay... So if I wanted non-randomized dungeons, which is number one idea right now, a module can actually do that? If so... I noticed the modules are LUA scripted...google LUA and see if I can find code and syntax or does it have to be specific? I'll be hunting around the ToME site here soon to see. If so, and that'll pretty much do all I'd like to do... Thankee dev team!
comatose_dreams@yahoo.com: Nevermind. I just found stuff...only it all seems a bit superficial. From what I gather, I guess the T-Engine looks at LUA files on how to be have, so I can write a script to create a dungeon that is not randomized...works well with an idea I have. If I'm wrong, or there are limits to the scripting that will keep dungeons random no matter what I do...please let me know.
NeilStevens: Modules are free to write their own dungeon generators, so you can be as non-random as you like. See Module Developers Discussion for more.
comatose_dreams@yahoo.com: I just looked
I'm becoming happier. Thank you. That seems to be the shove I was looking for. However...it still nags me I couldn't compile it. Oh well. I'll tackle that issue later. Thanks alot. If I have more questions I'll post elsewhere.
NeilStevens: Well the Makefiles have been cleaned up quite a bit since the last alpha. Try grabbing the latest from CVS if you really want to compile something, heh.
ToME Wiki