Having a compiler problem
by David Dougher · in Torque Game Engine Advanced · 09/15/2006 (6:52 pm) · 3 replies
I'm having a problem compiling the latest version. It keeps reporting that the constant, VC_LIGHT_TRANS is an undeclared identifier.
Anybody know where it is defined? I have done several searches through the code but, while I can find several places where it is used, I cannot find a #define for it anywhere.
Anybody know where it is defined? I have done several searches through the code but, while I can find several places where it is used, I cannot find a #define for it anywhere.
About the author
Owner - Pariah Games, Adjunct Professor - Bristol Community College, Mentor - Game Design - Met School Newport, Mentor - Game Design - Met School Providence
#2
I had all the other references that you listed except the one in shdrConsts.h. When I checked my copy it didn't have it listed. Back checked to a backup copy of TSE and found it there. Somehow I got the current one and one from the previous version swapped. So all my compiles stopped working.
Great. back to work...
09/15/2006 (8:20 pm)
That's it! Thanks David!I had all the other references that you listed except the one in shdrConsts.h. When I checked my copy it didn't have it listed. Back checked to a backup copy of TSE and found it there. Somehow I got the current one and one from the previous version swapped. So all my compiles stopped working.
Great. back to work...
#3
09/19/2006 (3:58 pm)
That's why you should always get a CLEAN copy out of CVS when a new release is out. Then you don't get confused when something like this happens and you don't waste the time of awesome people like David who looked for the problem.
Torque Owner David Stewart
sgLightingFeatures.h in engine\lightingSystem
material.cpp in engine\materials
renderElemMgr.cpp in engine\renderinstance
shdrConsts.h in example\shaders
Note: I'm assuming you're using ms4.
-----
There have been updates in the last few days and so if you haven't connected to the cvs then it might be a good idea.