Game Development Community

Wont open on OSX

by Thomas Almanzar · in Torque Game Engine · 01/26/2006 (1:13 pm) · 3 replies

I need some help, whenever i open up my torque program it says, "Error Failed to open "main.cs". And when i click ok it says, " Error Failed to initialize game, shutting down", and then shuts down. What should i do to fix this problem and get my torque SDK indie working?

#1
01/26/2006 (1:31 pm)
Sounds like you need to provide the "Working directory" to your IDE
im not sure how to do this on a Mac but im sure if you examine the doc or search for working directory somewhere you can find the info.

In visual studio for example
it is found in the project settings in the debug configuration portion.
im sure you can find something like that

there is a doc somewhere on this site that covers this Im not sure if it has a mac section.
if you check the search here for main.cs or working directory im sure you will come up with something.
#2
01/26/2006 (1:47 pm)
Are you running it from the examples directory or from the build directory?
#3
01/27/2006 (3:22 pm)
1. Read the readme.
2. It's not exactly a working directory problem.
3. Xcode places the build product ( read: the torque program it just built ), in a particular folder. This is not, by default, the torque/example folder, which is where it must be placed to run correctly. Here is a pretty detailed description of the problem & various ppl's thoughts on fixes.
4. Please do read the readme. It's in torque/pb/readme.txt or torque/pb/gettingstarted.txt, depending on whether you grabbed the latest sdk from the CVS server.