Game Development Community

Stupid VC7 IDE question...

by David Dougher · in Technical Issues · 05/14/2005 (6:31 am) · 6 replies

OK, I know this has to be something really silly that I SHOULD know.

In my copy of torque if I go to the VC7 directory call up the .SLN file, go to the torque demo project, right click and select properties I get a dialog box which does NOT have the C++ tab - none of the projects in the TGE seem to have that tab. Yet if I do that exact same sequence for TSE I can clearly see and access the C++ tab.

So what do I have to do to get that tab to appear under the properties? I want to set a preprocessor directive and that is where you are supposed to go to set set it.

Thanks.

About the author

Owner - Pariah Games, Adjunct Professor - Bristol Community College, Mentor - Game Design - Met School Newport, Mentor - Game Design - Met School Providence


#1
05/16/2005 (8:15 am)
That is very strange since it works prefectly fine for me and I didn't need to do anything special for it.
#2
05/16/2005 (10:13 am)
What ARE you seeing? Tab-wise I mean.
#3
05/16/2005 (11:14 am)
Hmmm.

In TGE when I call up the Properties page I see the following subdirectories...

Configuration Properties
-> General
Debugging
Linker
Resources
Browse Information
Build Events
Custom Build Step
Web Deployment

With TSE I see the following under properties.

Configuration Properties
-> General
Debugging
C++
Linker
Browse Information
Build Events
Custom Build Step
Web Deployment
#4
05/16/2005 (12:49 pm)
I'd guess that the TGE solution isn't configured to recognize ".cc" as a C++ file...

Only that can't be it. I just did some poking around, and found the "these are C++ files" setting. Tools->Options->Projects->VC++ Build->C/C++ File Extensions.

And .cc is listed. Huh.

How about your "Config->General->Project Defaults->Configuration Type
I suspect that one is "Makefile" and the other is Something Else. If that's not it, I yield. Just go through those general project settings looking for differences. You might even try cracking open the individual project files in a text editor to see what you can find that way.
#5
05/16/2005 (1:14 pm)
Yeah, .cc is in there.
Configuration type is application(.exe)

Well I found a way around it but it's not pretty. I hand coded in the preprocessor line into the vcproj file (don't try this at home kiddies! It makes MS VC7 mighty upset if you get ANYTHING wrong.)

Works for now and I can use batch build to control what I am doing. But if anybody comes up with a real solution I'd be interested.

ps. Mark - thx for trying. Appreciate the effort.
#6
05/18/2005 (1:05 pm)
I believe this is a known issue with VC7. Parts of it don't properly recognise .cc files as C++ source. I found many posts on newsgroups when I searched, but no-one answered when I posted myself either. Happily it seems to be fixed in VC8. The VC7 registry file that comes with Torque seems to do nothing, it's exactly the same as the VC6 one and references only VC6 keys.