dbrock
09-01-2008 06:40:35
I get the following errors when I included "NxOgre.h" into a new project
main.cpp
I've never had this problem before. I created a 3rd project, and did the exact same thing, and it worked. Is there some sort of project settings that could cause these types of errors?
main.cpp
#include "windows.h"
#include "nxogre.h"
// Main entry point
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
{
// Exit safely
return 0;
}
1>c:\dev\nxogre\nxogre\include\nxogrecharacter.h(107) : error C2143: syntax error : missing ';' before '*'
1>c:\dev\nxogre\nxogre\include\nxogrecharacter.h(107) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\dev\nxogre\nxogre\include\nxogrecharacter.h(107) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\dev\nxogre\nxogre\include\nxogrecharacter.h(109) : warning C4183: 'getNxController': missing return type; assumed to be a member function returning 'int'
1>c:\dev\nxogre\nxogre\include\nxogrecharacter.h(120) : error C2143: syntax error : missing ';' before '*'
1>c:\dev\nxogre\nxogre\include\nxogrecharacter.h(120) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\dev\nxogre\nxogre\include\nxogrecharacter.h(120) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\dev\nxogre\nxogre\include\nxogrecharacter.h(108) : error C2065: 'mCharacter' : undeclared identifier
1>c:\dev\nxogre\nxogre\include\nxogrecharactercontroller.h(80) : error C2143: syntax error : missing ';' before '*'
1>c:\dev\nxogre\nxogre\include\nxogrecharactercontroller.h(80) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\dev\nxogre\nxogre\include\nxogrecharactercontroller.h(80) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\dev\nxogre\nxogre\include\nxogrecharactercontroller.h(80) : warning C4183: 'getNxControllerManager': missing return type; assumed to be a member function returning 'int'
1>c:\dev\nxogre\nxogre\include\nxogrecharactercontroller.h(108) : error C2143: syntax error : missing ';' before '*'
1>c:\dev\nxogre\nxogre\include\nxogrecharactercontroller.h(108) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\dev\nxogre\nxogre\include\nxogrecharactercontroller.h(108) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\dev\nxogre\nxogre\include\nxogrecharactercontroller.h(80) : error C2065: 'mControllerManager' : undeclared identifier
I've never had this problem before. I created a 3rd project, and did the exact same thing, and it worked. Is there some sort of project settings that could cause these types of errors?