Severed bunny head
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Eternity buildable using Dev-C++
 
Author
All times are GMT. The time now is 20:17. Post New Thread    Post A Reply
Quasar
Moderator


Posts: 2200
Registered: 08-00


I've managed to get Eternity to build with Dev-C++. You need to install it and follow the directions on this page:

http://www.libsdl.org/cgi/docwiki.c...20Dev_2dC_2b_2b

You need SDL 1.2.10 for MinGW, and SDL_mixer 1.2.7 for VC6 (MinGW can use it as well). The only problem is that once Dev-C++ is up and you've loaded the project, you have to go to Project Options and adjust the include path (it is an option given to the compiler starting with -I).

The instructions on that page assume that people are using #include <SDL.h> instead of #include "SDL.h" -- the former is actually incorrect, since SDL is not part of any standard library -- this is why you need to take the extra step to point the compiler to wherever you put the SDL/SDL_mixer headers.

Anyways, I'm hoping this gives people a new and somewhat easier way to compile Eternity than messing with out-of-date makefiles and trying to build SDL by hand.

Last edited by Quasar on 05-22-06 at 14:45

Old Post 05-22-06 05:33 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
JoelMurdoch
Should know better by now


Posts: 656
Registered: 02-02



Quasar said:
and SDL 1.2.7 for VC6


This isn't on the SDL website near as I can tell. Where can I find it?

Old Post 05-22-06 09:37 #
JoelMurdoch is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 2200
Registered: 08-00


Woops, that is supposed to say SDL_mixer 1.2.7 (the latest release of that library, which contains the new Mix_LoadMUS_RW function). I'll fix it in my original post.

EDIT: Be sure to get THE latest SVN build. I just fixed some problems this morning :)

Last edited by Quasar on 05-22-06 at 15:06

Old Post 05-22-06 14:44 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Joe
Has an Avatar avatar


Posts: 230
Registered: 07-04


Ah, so you finally got it to compile. Wasn't this a great idea :P

Old Post 05-22-06 17:09 #
Joe is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Anders
No one knows I'm schepe


Posts: 419
Registered: 03-02


I wanted to do some eternity hacking on this newly reinstalled box. So I:

1. downloaded and installed dev-c++ and turtoise SVN.
2. Did the "SVN Checkout" thing to get the sources.
3. Double clicked the dev-cpp/Eternity.dev to open it in dev-c++.
4. Hit the compile button and crossed my fingers.

'Could not create Makefile: "c:\devel\eternity-svn\trunk\eternity\dev-cpp\Makefile.win" I/O error: 32'

Bah, I haven't been able to figure out why... any ideas?

EDIT:
I figured it out. The project file contains an absolute path "c:\Software Dev\eternity\source\devobj" which do not exist on my computer, changing this to a relative path "..\source\devobj" fixed the error.

Hooray for misleading errormessages!

EDIT2:
While I'm at it, I might aswell mention that I also had to add P_map3d.c and .h to the project to make it compile. But now it compiles without error.

Last edited by Anders on 08-30-06 at 20:32

Old Post 08-30-06 18:59 #
Anders is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 2200
Registered: 08-00


Yeah the Dev-Cpp project is a bit out of date; I always put off updating it until right before the next release.

Old Post 08-31-06 20:44 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 20:17. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Eternity buildable using Dev-C++

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory