Egoboo Forum

The Legend of Egoboo Sporks of Yore
Latest global searches: ank  ibn 7 tv dekho  nenas culiando  cai dat ban phim tieng trung  hard core play boys 
Top global searches: free hosting  iso for playstation  minnesota pigeon forum  education  philippine chess 
Guide: How to compile Egoboo source code on Windows

 
Post new topic   Reply to topic    Egoboo Forum Forum Index -> -> Help
View previous topic :: View next topic  
Author Message
denis3
Developer
Developer


Joined: 23 Dec 2007
Age: 17
Posts: 498
Location: New Zealand

PostPosted: Wed Jan 16, 2008 12:16 am    Post subject: Guide: How to compile Egoboo source code on Windows If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Guide modified and updated by Zefz ( 21.03.08 )

Welcome to the newest guide of how to compile Egoboo with Visual C++ Studio 2005 or 2008 on Windows! You will need the following things to start with:

- Source code of Egoboo to compile (The source code should be included with the newer versions of Egoboo you download)! (Download it at http://sourceforge.net/projects/egoboo or get the latest source on the SVN at https://egoboo.svn.sourceforge.net/svnroot/egoboo/trunk (Insturctions on how to download SVN is here: http://sourceforge.net/docs/E09)
- Visual C++ 2005 or 2008 recommended (Download VC++ 2008 from http://www.microsoft.com/express/vc/)
- SDK latest version (I think it will probably work with older versions too. Get it from Microsoft.com). This is not needed for VS++ 2008, as it is already included.
- SDL devel package latest version (http://www.libsdl.org/)
- SDL mixer devel package latest version (http://www.libsdl.org/projects/SDL_mixer/)
- SDL ttf devel package (http://www.libsdl.org/projects/SDL_ttf/)
- SDL image devel package (http://www.libsdl.org/projects/SDL_image/)

The devel packages should look something like this: SDL_image-devel-1.2.6-VC8.zip (This case being SDL_image version 1.2.6

Okay this is good to start with.

Step 1:

Install Visual C++ 2005/2008. Good. Download all the packages that I mentioned above. Now, the developer packages are a bit complicated to handle, but here is what you do. Unpack them all. Now, in each package you will see two folders called "include" and "lib". Before you do anything, I want you to go to program files, and find the directory of Visual C++ 2005. In that directory, there will be a folder called VC. In that folder, there will be two other folders called "include" and "lib" as well. From all the unzipped packages, I want you to take all the files in the "include" folders and put it inside the "include" folder of the VC directory. Do the same thing with the files in the "lib" folders in your unzipped packages, send them to the "lib" folder in the VC directory.

Step 2:

The Egoboo project file is in the source code folder that you downloaded from the game website or the SVN repository. It is the .sln file. Open version 9 for studio 2008 and version 8 for 2005 (Version 7 is for older ones). Open it up with Visual C++ 2005/2008. If everything goes right, all of the needed compile settings should be set for you Razz, but we are checking it, just to make sure. Now, you will see two folders on the left side called "enet" and "game". Right click "game". Go to "Linker" (Click the + button) and select Input. Go to Additional dependencies, double click it. A button like this: ... will appear on the right side, click it. You should have it like this:

shlwapi.lib
SHFolder.lib
Shell32.lib
SDL.lib
SDLmain.lib
opengl32.lib
glu32.lib
ws2_32.lib
SDL_ttf.lib
SDL_mixer.lib
SDL_image.lib

Once you made sure that these match, you can continue. (Note: they don't have to be exactly the same, but this is how I recommend you to have it).

Step 3:

Go to build -> build solution and there you go! Note: just remember about switching between debug mode and release mode (Batch build or debug build).

If you got any problems, don't hesitate to ask for help in the help section of the forums.

Good luck!
_________________
Season: 3
Projects for Egoboo: Egoboo - Adventure edition
Egoboo community job: Fixing bugs and game testing.
Total code bug fixes: 3
Total game bug fixes (This season): 1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Maxaxle
Elite Gamer
Elite Gamer


Joined: 06 Oct 2007
Age: 16
Posts: 2718
Location: San Diego

PostPosted: Wed Jan 16, 2008 12:52 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Wouldn't it be simpler if you:
-Attached the files to an email to me
-Sent me the email and attachments
-I would open the attachments
-I would use the attachments and get Egoboo compiled on my computer
-I would upload the compiled Egoboo
...?
_________________
http://www.freewebs.com/maxaxle88/
Inventor class last updated: July 9, 2008
Download: https://sourceforge.net/projects/maxaxlesegoboos
FREE PIZZA TOMORROW

This forum is dead and I have moved on to another forum with everyone else.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
denis3
Developer
Developer


Joined: 23 Dec 2007
Age: 17
Posts: 498
Location: New Zealand

PostPosted: Wed Jan 16, 2008 12:58 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Nope, to be able to edit Egoboo, you need to know how to compile it. Compiling it is not easy, for those who are new to programing.
_________________
Season: 3
Projects for Egoboo: Egoboo - Adventure edition
Egoboo community job: Fixing bugs and game testing.
Total code bug fixes: 3
Total game bug fixes (This season): 1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Zefz
Lead Designer
Lead Designer


Joined: 16 Sep 2007
Posts: 2306
Location: Norway

PostPosted: Wed Jan 16, 2008 8:01 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Nice work. Listing all dependencies and libraries on one page.

You should also mention that we have a SVN repository up too (A place where all the coders can add their latest work and share everything, enabling many coders to work with the same code at the same time).
_________________
http://egoboo.sourceforge.net

"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
denis3
Developer
Developer


Joined: 23 Dec 2007
Age: 17
Posts: 498
Location: New Zealand

PostPosted: Wed Jan 16, 2008 8:31 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Yeh, although that one is a bit complicated, because I'm not that an ADVANCED programmer, I consider myself a beginner. I should install SVN soon though, if I want to try to fix bugs properly.
_________________
Season: 3
Projects for Egoboo: Egoboo - Adventure edition
Egoboo community job: Fixing bugs and game testing.
Total code bug fixes: 3
Total game bug fixes (This season): 1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Breakable
Grub Bug
Grub Bug


Joined: 04 Jun 2008
Posts: 1


PostPosted: Wed Jun 04, 2008 4:14 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Hi,
I have trouble compiling.
The trunk throws error:
Error 63 error C2198: 'sv_frameStep' : too few arguments for call d:\prj\private\egobo\trunk\game\mainloop.c 54

and the 2.7.7 gives:
Error 1 error C2143: syntax error : missing '{' before '.' d:\prj\private\egobo\tags\egoboo 2.7.7\game\cartman.c 138

Something uncommitted?
Back to top
View user's profile Send private message
bgbirdsey
Developer
Developer


Joined: 25 Sep 2007
Posts: 873
Location: Minnesota

PostPosted: Wed Jun 04, 2008 5:00 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

there are several files that are included with the source that are not to be compiled a this time.

Remove or disable the compiling of:

    MainLoop.c
    file_lin.c
    file_mac.c
    System_lin.c
    System_mac.c
    cartman.c
    cartman_mouse3.c
    cartman_scale.c
    cartman_standard.c
Back to top
View user's profile Send private message
Zefz
Lead Designer
Lead Designer


Joined: 16 Sep 2007
Posts: 2306
Location: Norway

PostPosted: Wed Jun 04, 2008 5:35 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Maybe I should commit my solution that compiles. Then at least VC++ studio 2008 users can compile the trunk correctly.
_________________
http://egoboo.sourceforge.net

"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
bgbirdsey
Developer
Developer


Joined: 25 Sep 2007
Posts: 873
Location: Minnesota

PostPosted: Wed Jun 04, 2008 6:38 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

That is a good idea.

vs8 can still import the vs7 solution, but maybe some of the settings will not be ideal?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Egoboo Forum Forum Index -> -> Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


© 2007 Informe.com. Get Free Forum Hosting
Powered by phpBB © 2001, 2005 phpBB Group
Software tags powered by Software Informer

RedSilver 1.01 Theme was programmed by DEVPPL HTML Forum
Images were made by DEVPPL Photoshop Forum