Game Development Community

Having a bit of Trouble Compiling

by Eric Olivarez · in General Discussion · 11/30/2008 (9:44 pm) · 7 replies

Hey everyone. Let me just say that this is the first time I actually sit down and work with a game engine. I have taken a class on game design, but it was more methodology, history, and theory rather than actually "making games".

With that said, I am having quite a bit of trouble knowing what to do now that I have the source code. I have Visual Studio 2008 installed on my computer. When I tried to compile the engine it gave me this error:

"Failed to open main.cs"
"Failed to initialize game, shutting down"

I've been pulling my hair all weekend trying to figure out what this means, and why I'm getting the error. I also have the RTS starter kit, and when I try to compile that it gives me the same error.

Is there some kind of tutorial to help me compile the engine? And what exactly happens after I compile it? Do they become executables that I can use as like programs?

Any info would be greatly appreciated.
Thanks!

About the author

Recent Threads


#1
11/30/2008 (10:02 pm)
Set your working Folder.
Set path for main.cs file.

I am using TGEA 1.03 , my working folder is ../example.
My main.cs file is in example folder.

In VS=>
Project properties->

1. Set configuration drop down list to 'All Configurations'.

2. in Configuration Properties->Debugging->Working Directory
Set path here.
#2
11/30/2008 (10:16 pm)
Thank you! That worked!

Ok so it built the demo, now what do I do?

Thanks again!
#3
11/30/2008 (10:30 pm)
Thank you! That worked!

Ok so it built the demo, now what do I do?

Thanks again!
#4
12/01/2008 (5:14 pm)
Thank you! That worked!

Ok so it built the demo, now what do I do?

Thanks again!
#5
12/01/2008 (6:02 pm)
^:)Triple post FTW...joking

But I guess
You Just working on project. The main purpose of recompiling is when you made some kind of change to the engine code.
#6
12/01/2008 (6:10 pm)
So how do I actually insert models, edit levels, etc...?

How do I make this an executable?

And I actually didn't post that 3 times lol. I don't know why that happened.
#7
12/01/2008 (8:18 pm)
Unfortunately, when you refresh, it posts anew. I like to think of it as a timewarp for impatience. We've all fallen prey to it.