Jump to content
  • Advertisement
Sign in to follow this  
Romocop

Compiling Torque in VS 2008

This topic is 3669 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, Please excuse my noobness in the game creation area, but I am having an extreme amount of trouble figuring out how to use the Torque engine. I just bought the Torque engine source code and the RTS starter kit and don't know where to begin, or what does what. I know I'm supposed to compile it, but what exactly does that do? Does compiling it turn it into a program I can use? I'm just so lost. I have a ton of time off so I wanted to use it to get some knowledge of the Torque engine but all of this is just overwhelming me. Are there any good tutorials out there for someone like me who is not that experienced? I do understand C++ code, I just don't know where to start with the Torque engine. Any info would be greatly appreciated.

Share this post


Link to post
Share on other sites
Advertisement
Ok so I've tried to compile the engine now and it's giving me this error when I try to build it:

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

Anyone have this same problem who can help?
Thanks!

Share this post


Link to post
Share on other sites
I'm not familiar with Torque, but most engines require you to set up a working directory of some form, with config files and such.

Does the introductory tutorial explain what must be in the project's directory for the engine to start up?

Share this post


Link to post
Share on other sites
It would be better to ask this on the GarageGames forums as everybody there should be able to answer this question.

Share this post


Link to post
Share on other sites
I figured it out. If anyone is having this same problem follow this:

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. (mine was: "../example")

Hope this helps anyone else who had the same problem! And thank you all as well.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!