Re: [DM-dev] Compile question
Brought to you by:
acdalton,
henningsen
From: Henningsen <pe...@al...> - 2001-12-28 12:36:30
|
>Forgive the ignorance of a spoiled Windows developer. I'd like to compile the latest Dungeon Maker code for Windows, and I've downloaded MinGW, but I'm not sure what to do from there. I tend to get lost if there's not a .dsp file :( Any help would be appreciated. Thanks. Ahh, Eric, I'm a spoiled Windows developer myself, and just getting used to this gcc stuff. Up to version 1.0 of the DungeonMaker, I compiled it for Windows simply by dumping all my source files into the gcc/bin directory that you get when installing MinGW, and then executing make.exe. That makes it unneccessary to set any search paths, and works well enough for just plain .cpp and .h files. However, since I've included the SDL library, I haven't tried compiling for Windows. If you want to be the brave trailbraker who does it, there's two options: You could get SDL-devel version 1.08 from http://libsdl.org, and use whatever tips they give there on compiling SDL-applications on Windows/MinGW. However, in the latest version of SDL, version 1.2, they have apparently abandoned MinGW, and give instructions for compiling SDL-applications in MSVC++ v6. If you have Microsoft's sleek compiler, your best bet would be to get SDL version 1.2, and use the process described for compiling SDL-apps on that. Someone just put a tutorial for that on the web, not on libsdl.org, you might have to google for that, or be lucky finding a link. There's also a problem on Linux, because the make-file that comes with the program links to SDL as a shared library, and you need the shared library SDL 1.0x to run the executable I produced. It does not seem to work with the latest SDL-version 1.2. Because of this, I'd actually prefer to link statically to SDL, but I haven't put my mind to it yet. I much prefer to program, and I'm deeply into re-writing the DungeonMaker code from scratch. By the time I get version 2.0 of the Dungeonmaker out the door, I'll try to get it to compile with static libraries, and on Windows too. Maybe I'll even get the latest MSVC.NET to do it. Until then, if you *do* manage to compile it for Windows, let me know, and we can release the executable on SourceForge. Peter |