Game Development Community

Torque / TGEPython and Visual C .NET installation

by Kristian Dupont · in Torque Game Engine · 03/02/2004 (3:42 pm) · 6 replies

Hi All!
I am recently purchased Torque and since I am an experienced Python programmer I am trying to get TGEPython to work with Torque rather than get to know .cs.
I am using .NET 2003 and Torque builds in first go (I used the 'VC7 .cc compiling' regfile)

In order to use Python it is required to change the code generation setting for the projects as described in the TGEPython installation:

"Change the project-> C/C++-> Code Generation settings for Torque Demo and ALL PROJECTS IT IS DEPENDANT ON:

Torque Demo, ljpeg, zlib, lpng, lungif, opengl2d3d, glu2d3d

for Release from Single Threaded to Multithreaded DLL
for Debug from Debug Single Threaded to Debug Multithreaded DLL"

Unfortunately these code settings ('Configuration Properties-> C/C++ -> Code Generation') DOES NOT show for Torque projects (they normally do for any other project I have been working on).

I can only make the changes apply to the individual cc files, but not for the whole project, which is rather odd.

What is special about Torque?
Does anyone how to make the correct changes?
Does any of you use TGEPython with Visual C7?
Is this the right place to ask these kind of question?

I hope someone can help me...
kind regards
Rasmus Fynbo

#1
03/02/2004 (3:51 pm)
Rasmus, I advise you take cover because this is about to happen:
#2
03/02/2004 (4:00 pm)
Now, that was a strange answer..
#3
03/02/2004 (6:09 pm)
Try editing the project files manually. There are some weird things about VC7.1...

This is a good place to ask these questions. :)
#4
03/02/2004 (6:52 pm)
Hahahaha, you really have to wonder what people were thinking somedays. That was a strange answer, perhaps he as already tried what you are doing Rasmus.
By the way Rasmus, just a friendly warning (since it doesn't bother me) its best not to double post. That is post the same message in 2 different message groups. Some people will get really mad about stuff like that. :)
The people in this community are quite friendly although I have seen comments about it, but other places they will get really nasty about it.
If you are not sure were to post then ask the question in the place you think it goes and ask if its the correct place. Usually people will tell you if you are in the wrong place, if you ask. Hope that helps, it sucks being on the end of a flaming. :)

Later, Ben
#5
03/02/2004 (9:31 pm)
Rasmus,

I would suggest that you make Torque work in its native state before you take on the Python project. That way you are not trying to debug two things at once. Also, remember, TGEPython is a contibuted technology that may not get as much support as you would normally get from the community.

-Jeff Tunnell GG
#6
03/03/2004 (5:19 am)
Thanks for the quick replies..

I suppose it is a good idea to dig into the native state of Torque, now that cutting some corners with Python is not as easy as I hoped it would be..

I think my initially post already have been deleted, but your points have been taken.

Rasmus