HGE Homepage Relish Games
Innovative indie games and indie game development
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Tutorial 1] Need help compiling hge.cpp

 
Post new topic   Reply to topic    Relish Games Forum Index -> HGE Game Engine
View previous topic :: View next topic  
Author Message
Shiro786



Joined: 03 Jul 2007
Posts: 6

PostPosted: Tue Jul 03, 2007 8:48 pm    Post subject: [Tutorial 1] Need help compiling hge.cpp Reply with quote

IDE: Dev C/C++ by Bloodshed
Compiler: Dunno >_>


I'm basically trying to figure out how to run the first tutorial, but I don't know how to get it to work. I took out the main.cpp file and created my own, hge.cpp file and copied and pasted the code, but that didn't work.

Can anyone tell me what i'm doing wrong, and then follow it up by telling me what I have to do?

Thanks in advance.
Back to top
View user's profile Send private message
radishes



Joined: 21 Nov 2004
Posts: 76
Location: Seattle, USA

PostPosted: Tue Jul 03, 2007 8:53 pm    Post subject: Reply with quote

Did you set up your compiler as indicated in "Setting Up an HGE Project" in the docs: http://hge.relishgames.com/doc/index.html?

Did you link your project with the lib files?

Are you getting compile errors? Linker errors? How about pasting error messages?
Back to top
View user's profile Send private message Visit poster's website
Shiro786



Joined: 03 Jul 2007
Posts: 6

PostPosted: Tue Jul 03, 2007 9:17 pm    Post subject: Reply with quote

Yeah I did.

Like when I create a new project with Dev C/C++, if I just compile and run main.cpp, then it shows an empty program.



Meh. Can you tell me what type of compiler/IDE you use? I'm thinking since there's a bit of more support with VC++ 2005, I might use that.
Back to top
View user's profile Send private message
DaiShiva
Expert


Joined: 03 Mar 2004
Posts: 702
Location: Tucson, AZ

PostPosted: Tue Jul 03, 2007 9:26 pm    Post subject: Reply with quote

http://msdn.microsoft.com/vstudio/express/
Back to top
View user's profile Send private message Visit poster's website
Shiro786



Joined: 03 Jul 2007
Posts: 6

PostPosted: Tue Jul 03, 2007 11:01 pm    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Relish Games Forum Index -> HGE Game Engine 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


Powered by phpBB © 2001, 2005 phpBB Group