Problems compiling TSE with Visual Studio 2005 final.
by Ian Winter · in Torque Game Engine Advanced · 11/08/2005 (5:54 am) · 1 replies
Using the final release of Visual Studio 2005 I'm having problems compiling the TSE solution, TSE itself compiles fine, however I'm getting a whole bunch of errors with the ms2dtsExporter project and also the dtsSDK project. The ms2dtsExporter project was easy enough to fix, for some reason Visual Studio 2005 doesn't like seeing variables declared inside of for loops, e.g.:
for(int i = 0; i < blah; i++)
{
}
It doesn't like this, moving the int declaration outside resolved the problem which is fine but does anyone know why exactly it doesn't like this?
Onto the problem I'm not so sure about, in the dtsSDK project I get 87 errors of the following type:
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\dev\projects\eagle squadron\src\tse\lib\maxsdk31\shape.h 326
They're nearly all pointing to shape.h and it seems to be related somewhat to the CoreExport portions, i.e.:
CoreExport HideSelectedSegs(); // hide selected segs
CoreExport HideSelectedVerts(); // hide segs attached to selected verts
I'm not so sure what this is complaining about as such, I had a look at the comments in another thread by Matt Fairfax iirc mentioning downloading the Win2003 platform SDK and adding it to the includes and so on but alas, this was no use for me as the platform SDK didn't even include the directories he mentioned in his post, also I'm placing a bet that my problem isn't related to that anyway.
Hope someone can help!
for(int i = 0; i < blah; i++)
{
}
It doesn't like this, moving the int declaration outside resolved the problem which is fine but does anyone know why exactly it doesn't like this?
Onto the problem I'm not so sure about, in the dtsSDK project I get 87 errors of the following type:
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\dev\projects\eagle squadron\src\tse\lib\maxsdk31\shape.h 326
They're nearly all pointing to shape.h and it seems to be related somewhat to the CoreExport portions, i.e.:
CoreExport HideSelectedSegs(); // hide selected segs
CoreExport HideSelectedVerts(); // hide segs attached to selected verts
I'm not so sure what this is complaining about as such, I had a look at the comments in another thread by Matt Fairfax iirc mentioning downloading the Win2003 platform SDK and adding it to the includes and so on but alas, this was no use for me as the platform SDK didn't even include the directories he mentioned in his post, also I'm placing a bet that my problem isn't related to that anyway.
Hope someone can help!
Torque Owner Vashner