Jump to content
  • Advertisement
Sign in to follow this  
Deliverance

XSI Semantic Layer & Microsoft visual studio express compilation errors

This topic is 3630 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Given this simple program: #define XSI_STATIC_LINK // found this on the internet,they said it solves the // compilation errors #include <SemanticLayer.h> int main() { return 0; } I get a ton of compilation errors and cannot understand why. Why is that so? Here are the errors: ------ Build started: Project: XSI Exporter, Configuration: Debug Win32 ------ Compiling... main.cpp c:\program files\microsoft sdks\windows\v6.0a\include\basetsd.h(458) : warning C4005: 'MAXINT' : macro redefinition c:\program files\microsoft visual studio 9.0\vc\include\xsi\core\sibcmath.h(126) : see previous definition of 'MAXINT' c:\program files\microsoft visual studio 9.0\vc\include\xsi\core\sibcutil.h(1502) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsiparam.h(47) : error C2470: 'CdotXSIParam' : looks like a function definition, but there is no parameter list; skipping apparent body c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsiparam.h(179) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsiparam.h(179) : error C2079: 'CdotXSIParam' uses undefined class 'XSIEXPORT' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsiparam.h(179) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsiparam.h(180) : error C2628: 'XSIEXPORT' followed by 'void' is illegal (did you forget a ';'?) c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsiparams.h(41) : error C2470: 'CdotXSIParams' : looks like a function definition, but there is no parameter list; skipping apparent body c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsiparams.h(117) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsiparams.h(117) : error C2079: 'CdotXSIParams' uses undefined class 'XSIEXPORT' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsiparams.h(117) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(57) : error C2470: 'CdotXSITemplates' : looks like a function definition, but there is no parameter list; skipping apparent body c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(192) : error C2470: 'CdotXSITemplate' : looks like a function definition, but there is no parameter list; skipping apparent body c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(425) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(425) : error C2079: 'CdotXSITemplate' uses undefined class 'XSIEXPORT' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(425) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(430) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(430) : error C2079: 'CdotXSITemplates' uses undefined class 'XSIEXPORT' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(430) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(438) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(438) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(438) : error C2370: 'CdotXSITemplate' : redefinition; different storage class c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(425) : see declaration of 'CdotXSITemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(438) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(138) : error C2061: syntax error : identifier 'CdotXSITemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(138) : error C2371: 'DOTXSIREADCALLBACK' : redefinition; different basic types c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(45) : see declaration of 'DOTXSIREADCALLBACK' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(139) : error C2061: syntax error : identifier 'CdotXSITemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(139) : error C2371: 'DOTXSIWRITECALLBACK' : redefinition; different basic types c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsitemplate.h(46) : see declaration of 'DOTXSIWRITECALLBACK' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(146) : error C2470: 'CCOLLADATemplate' : looks like a function definition, but there is no parameter list; skipping apparent body c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(261) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(261) : error C2079: 'CCOLLADATemplate' uses undefined class 'XSIEXPORT' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(261) : error C2065: 'in_pParent' : undeclared identifier c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(261) : error C2059: syntax error : 'const' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(267) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(267) : error C2079: 'CCOLLADATemplate' uses undefined class 'XSIEXPORT' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(267) : error C2086: 'int CCOLLADATemplate' : redefinition c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(261) : see declaration of 'CCOLLADATemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(267) : error C2065: 'in_pParent' : undeclared identifier c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(267) : error C2059: syntax error : 'const' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(275) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(275) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(275) : error C2378: 'CCOLLADATemplate' : redefinition; symbol cannot be overloaded with a typedef c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(261) : see declaration of 'CCOLLADATemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(275) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(276) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(276) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(276) : error C2086: 'int CCOLLADATemplate' : redefinition c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(261) : see declaration of 'CCOLLADATemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(276) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(282) : error C2061: syntax error : identifier 'CdotXSITemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(283) : error C2061: syntax error : identifier 'CdotXSITemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(284) : error C2061: syntax error : identifier 'CdotXSITemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(285) : error C2061: syntax error : identifier 'CdotXSITemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(286) : error C2061: syntax error : identifier 'CdotXSITemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(289) : error C2061: syntax error : identifier 'CdotXSITemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(290) : error C2061: syntax error : identifier 'CdotXSITemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(291) : error C2061: syntax error : identifier 'CdotXSITemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(292) : error C2061: syntax error : identifier 'CdotXSITemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(299) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(299) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(299) : error C2086: 'int CCOLLADATemplate' : redefinition c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(261) : see declaration of 'CCOLLADATemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(299) : error C2065: 'in_pParent' : undeclared identifier c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(299) : error C2062: type 'char' unexpected c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(300) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(300) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(300) : error C2086: 'int CCOLLADATemplate' : redefinition c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(261) : see declaration of 'CCOLLADATemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(300) : error C2065: 'in_pParent' : undeclared identifier c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(300) : error C2062: type 'char' unexpected c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\animatabletype.h(44) : error C2470: 'CSLAnimatableType' : looks like a function definition, but there is no parameter list; skipping apparent body c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\sl_int.h(28) : error C2371: 'CCOLLADATemplate' : redefinition; different basic types c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\colladatemplate.h(275) : see declaration of 'CCOLLADATemplate' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\sl_int.h(33) : error C2470: 'CSLIntProxy' : looks like a function definition, but there is no parameter list; skipping apparent body c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\sl_array.h(77) : error C2989: 'XSIEXPORT' : class template has already been declared as a non-class template c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\dotxsiparam.h(47) : see declaration of 'XSIEXPORT' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\sl_array.h(77) : error C2146: syntax error : missing ';' before identifier 'CSLArrayProxy' c:\program files\microsoft visual studio 9.0\vc\include\xsi\ftk\sl_array.h(75) : error C3857:

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!