Game Development Community

Max2dts not Compiling under VC7 (.net)

by Matthew Jones · in Torque Game Engine · 12/25/2003 (9:08 am) · 1 replies

We are getting a series of errors all coming from materialList.h when we compile the max2dts exportor, either by itself or with all of torque. However, no errors when we compile all of torque w/o max2dts or TorqueLib by itself. This leads us to believe that there is a linking problem. Anyone else seen this and maybe found a fix?
Compiling...
NvTriStripObjects.cc
../engine\dgl\materialList.h(77) : error C2146: syntax error : missing ';' before identifier 'begin'
../engine\dgl\materialList.h(77) : error C2501: 'MaterialList::iterator' : missing storage-class or type specifiers
../engine\dgl\materialList.h(77) : warning C4183: 'begin': missing return type; assumed to be a member function returning 'int'
../engine\dgl\materialList.h(78) : error C2146: syntax error : missing ';' before identifier 'end'
../engine\dgl\materialList.h(78) : error C2501: 'MaterialList::iterator' : missing storage-class or type specifiers
../engine\dgl\materialList.h(78) : warning C4183: 'end': missing return type; assumed to be a member function returning 'int'
../engine\dgl\materialList.h(79) : error C2143: syntax error : missing ';' before '['
../engine\dgl\materialList.h(79) : error C2501: 'MaterialList::value' : missing storage-class or type specifiers

Thanks