Game Development Community

C/C++ tab is missing

by Lateral Punk · in Torque Game Engine · 05/12/2005 (2:18 pm) · 7 replies

Why is the C/C++ tab missing in the beta version of the lighting pack for VC7? I've noticed that it even happened on version 1.3.0? the project file has all the settigns there, but for some reason the C/C++ tab is missing when I try to access it within VS. any idea?

kp

#1
05/12/2005 (2:31 pm)
What C/C++ tab?

If you mean in the project setting, I've only seen that tab when editing the properties of an individual cc file.
#2
05/12/2005 (2:42 pm)
Yes I do mean the project setting, and yes the C/C++ tab used to be there for the whole project, not individual cc files. How else would you put in preprocessor defines, etc, if it wasn't for the project setting right? this even occurs with 1.3.0 of TGE (not the one with lighting pack patched to it). I wonder if anyone else has ever seen this.
#3
05/12/2005 (3:01 pm)
I've seen the problem, but I thought it was just a difference between VC6/VC7.

You can try opening the VC6 project files with VC7, after the conversion the options might return (or this is what caused the problem in the first place).

If this is happening in a stock TGE 1.3, it must have been this way for a long time.
#4
05/12/2005 (3:11 pm)
Add a new C++ file to the project, and remove it. The c++ tabs will then come back.
#5
05/12/2005 (3:28 pm)
Right click one of the .cc files , click properties and change its type to c++
this is a known issue when converting a vs 6 project to .NET it looses its mind and
has no clue what type the files is

-Ron
#6
05/12/2005 (4:14 pm)
Kuni: I just had this problem myself, while trying to set the preprocessor directive LOG_INPUT. Since the setting is under the C/C++ folder not having it was a problem. I also made a new project and copied the TGE files across, but in the end curiosity got the best of me and I had to figure out why.

So, if you just add the stdafx.h file in the root structure of you Torque Demo project the C/C++ settings reappear in the project properties.

smdlabs.com/content/pic1.png
smdlabs.com/content/pic2.png
smdlabs.com/content/pic3.png
That worked for me... You mileage may vary!

B--
#7
05/12/2005 (7:40 pm)
Thanks everyone, i'll try the various ways to get it working!