Help compiling DTS exporter for Maya 7.0
by Jeff Cole · in Torque Game Engine · 03/25/2006 (12:58 am) · 0 replies
I have been trying to compile the DTS exporter linking to my Maya 7.0 devkit and headers..
when trying to compile with xcode I am getting these errors...
Note: I get the same errors when I linked to the default Maya 6.0 devkit as well.. so i am assuming it is something in my compiler settings thats causing it stumble on the code syntax..
I am a designer by trade .. my programing is somewhat limited, so any help would be appreciated..
here are the errors..
DTSBrushMesh.cpp:2: warning: ignoring #pragma warning
DTSBrushMesh.cpp:155: warning: comparison between signed and unsigned integer expressions
DTSBrushMesh.h:0: At global scope:
DTSBrushMesh.h:9: warning: 'class DTS::BrushMesh' has virtual functions but non-virtual destructor
DTSBrushMesh.h:25: warning: 'class DTS::CylinderMesh' has virtual functions but non-virtual destructor
DTSBrushMesh.h:40: warning: 'class DTS::BoxMesh' has virtual functions but non-virtual destructor
DTSMatrix.h:120: error: template argument 2 is invalid
DTSMatrix.h:120: error: invalid type in declaration before ';' token
DTSMatrix.h:120: error: 'cols2' was not declared in this scope
DTSMatrix.h:123: error: invalid types 'int[int]' for array subscript
DTSMatrix.h:129: error: 'cols2' was not declared in this scope
DTSMatrix.h:129: error: template argument 2 is invalid
DTSMatrix.h:129: error: invalid type in declaration before ';' token
DTSMatrix.h:138: error: invalid type in declaration before ';' token
DTSMatrix.h:138: error: template argument 2 is invalid
DTSMatrix.h:138: error: 'cols2' was not declared in this scope
DTSMatrix.h:141: error: invalid types 'int[int]' for array subscript
DTSMatrix.h:147: error: invalid type in declaration before ';' token
DTSMatrix.h:147: error: template argument 2 is invalid
DTSMatrix.h:147: error: 'cols2' was not declared in this scope
DTSMesh.h:139: warning: comparison between signed and unsigned integer expressions
DTSVector.h:0: In function 'bool DTS::operator>(const DTS::Vector&, const DTS::Vector&)':
DTSVector.h:74: error: using obsolete binding at 'n'
DTSVector.h:75: error: name lookup of 'n' changed for new ISO 'for' scoping
when trying to compile with xcode I am getting these errors...
Note: I get the same errors when I linked to the default Maya 6.0 devkit as well.. so i am assuming it is something in my compiler settings thats causing it stumble on the code syntax..
I am a designer by trade .. my programing is somewhat limited, so any help would be appreciated..
here are the errors..
DTSBrushMesh.cpp:2: warning: ignoring #pragma warning
DTSBrushMesh.cpp:155: warning: comparison between signed and unsigned integer expressions
DTSBrushMesh.h:0: At global scope:
DTSBrushMesh.h:9: warning: 'class DTS::BrushMesh' has virtual functions but non-virtual destructor
DTSBrushMesh.h:25: warning: 'class DTS::CylinderMesh' has virtual functions but non-virtual destructor
DTSBrushMesh.h:40: warning: 'class DTS::BoxMesh' has virtual functions but non-virtual destructor
DTSMatrix.h:120: error: template argument 2 is invalid
DTSMatrix.h:120: error: invalid type in declaration before ';' token
DTSMatrix.h:120: error: 'cols2' was not declared in this scope
DTSMatrix.h:123: error: invalid types 'int[int]' for array subscript
DTSMatrix.h:129: error: 'cols2' was not declared in this scope
DTSMatrix.h:129: error: template argument 2 is invalid
DTSMatrix.h:129: error: invalid type in declaration before ';' token
DTSMatrix.h:138: error: invalid type in declaration before ';' token
DTSMatrix.h:138: error: template argument 2 is invalid
DTSMatrix.h:138: error: 'cols2' was not declared in this scope
DTSMatrix.h:141: error: invalid types 'int[int]' for array subscript
DTSMatrix.h:147: error: invalid type in declaration before ';' token
DTSMatrix.h:147: error: template argument 2 is invalid
DTSMatrix.h:147: error: 'cols2' was not declared in this scope
DTSMesh.h:139: warning: comparison between signed and unsigned integer expressions
DTSVector.h:0: In function 'bool DTS::operator>(const DTS::Vector
DTSVector.h:74: error: using obsolete binding at 'n'
DTSVector.h:75: error: name lookup of 'n' changed for new ISO 'for' scoping
About the author