My Project with NxOgre (Compiling Errors from SDK)

DieHard

13-11-2006 03:44:14

Errors are from Ageia SDK's header files. Please help?

1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : error C3254: 'NxUserAllocator' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : error C2238: unexpected token(s) preceding ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : warning C4002: too many actual parameters for macro 'malloc'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : error C3254: 'NxUserAllocator' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : error C2535: 'void *NxUserAllocator::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : see declaration of 'NxUserAllocator::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(497) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C3254: 'NxUserAllocator' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C2535: 'void *NxUserAllocator::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : see declaration of 'NxUserAllocator::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C2238: unexpected token(s) preceding ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C3254: 'NxUserAllocator' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2556: 'void NxUserAllocator::instance(void)' : overloaded function differs only by return type from 'void *NxUserAllocator::instance(void)'
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : see declaration of 'NxUserAllocator::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2040: 'NxUserAllocator::instance' : 'void (void)' differs in levels of indirection from 'void *(void)'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2238: unexpected token(s) preceding ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(36) : warning C4002: too many actual parameters for macro 'malloc'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(36) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(36) : error C3254: 'NxAllocatorDefault' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(36) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(37) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(76) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(76) : error C3254: 'NxAllocatorDefault' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(76) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(76) : error C2535: 'void *NxAllocatorDefault::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(36) : see declaration of 'NxAllocatorDefault::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(77) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(88) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(88) : error C3254: 'NxAllocatorDefault' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(88) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(88) : error C2556: 'void NxAllocatorDefault::instance(void)' : overloaded function differs only by return type from 'void *NxAllocatorDefault::instance(void)'
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(36) : see declaration of 'NxAllocatorDefault::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(88) : error C2040: 'NxAllocatorDefault::instance' : 'void (void)' differs in levels of indirection from 'void *(void)'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(89) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(59) : error C2589: '::' : illegal token on right side of '::'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(59) : error C2059: syntax error : '::'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2544: expected ')' for operator '()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2143: syntax error : missing ';' before 'Ogre::MemoryManager::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2433: 'NxAllocateable::()' : '__forceinline' not permitted on data declarations
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C3254: 'NxAllocateable' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : warning C4183: 'instance': missing return type; assumed to be a member function returning 'int'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2059: syntax error : ')'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2760: syntax error : expected '{' not ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2144: syntax error : 'void' should be preceded by '}'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2544: expected ')' for operator '()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2143: syntax error : missing ';' before 'Ogre::MemoryManager::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2433: 'NxAllocateable::()' : '__forceinline' not permitted on data declarations
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2086: 'void *NxAllocateable::()' : redefinition
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C3254: 'NxAllocateable' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2535: 'int NxAllocateable::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : warning C4183: 'instance': missing return type; assumed to be a member function returning 'int'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2059: syntax error : ')'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2760: syntax error : expected '{' not ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2144: syntax error : 'void' should be preceded by '}'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2544: expected ')' for operator '()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2143: syntax error : missing ';' before 'Ogre::MemoryManager::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2182: '()' : illegal use of type 'void'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2433: 'NxAllocateable::()' : '__forceinline' not permitted on data declarations
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2040: 'NxAllocateable::()' : 'int' differs in levels of indirection from 'void *'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C3254: 'NxAllocateable' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2535: 'int NxAllocateable::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : warning C4183: 'instance': missing return type; assumed to be a member function returning 'int'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2059: syntax error : ')'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2760: syntax error : expected '{' not ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2144: syntax error : 'void' should be preceded by '}'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2544: expected ')' for operator '()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2143: syntax error : missing ';' before 'Ogre::MemoryManager::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2182: '()' : illegal use of type 'void'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2433: 'NxAllocateable::()' : '__forceinline' not permitted on data declarations
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2040: 'NxAllocateable::()' : 'int' differs in levels of indirection from 'void *'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C3254: 'NxAllocateable' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2535: 'int NxAllocateable::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : warning C4183: 'instance': missing return type; assumed to be a member function returning 'int'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2059: syntax error : ')'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2760: syntax error : expected '{' not ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2144: syntax error : 'void' should be preceded by '}'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2544: expected ')' for operator '()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2143: syntax error : missing ';' before 'Ogre::MemoryManager::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2433: 'NxAllocateable::()' : '__forceinline' not permitted on data declarations
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2086: 'void *NxAllocateable::()' : redefinition
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C3254: 'NxAllocateable' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2535: 'int NxAllocateable::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : warning C4183: 'instance': missing return type; assumed to be a member function returning 'int'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2059: syntax error : ')'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2760: syntax error : expected '{' not ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(35) : error C2144: syntax error : 'void' should be preceded by '}'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(35) : error C2544: expected ')' for operator '()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(35) : error C2143: syntax error : missing ';' before 'Ogre::MemoryManager::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(35) : error C2433: 'NxAllocateable::()' : '__forceinline' not permitted on data declarations
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(35) : error C2086: 'void *NxAllocateable::()' : redefinition
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(35) : fatal error C1003: error count exceeds 100; stopping compilation
1>CharacterControl.cpp
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : error C3254: 'NxUserAllocator' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : error C2238: unexpected token(s) preceding ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : warning C4002: too many actual parameters for macro 'malloc'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : error C3254: 'NxUserAllocator' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : error C2535: 'void *NxUserAllocator::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : see declaration of 'NxUserAllocator::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(497) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C3254: 'NxUserAllocator' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C2535: 'void *NxUserAllocator::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : see declaration of 'NxUserAllocator::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C2238: unexpected token(s) preceding ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C3254: 'NxUserAllocator' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2556: 'void NxUserAllocator::instance(void)' : overloaded function differs only by return type from 'void *NxUserAllocator::instance(void)'
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : see declaration of 'NxUserAllocator::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2040: 'NxUserAllocator::instance' : 'void (void)' differs in levels of indirection from 'void *(void)'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2238: unexpected token(s) preceding ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(36) : warning C4002: too many actual parameters for macro 'malloc'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(36) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(36) : error C3254: 'NxAllocatorDefault' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(36) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(37) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(76) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(76) : error C3254: 'NxAllocatorDefault' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(76) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(76) : error C2535: 'void *NxAllocatorDefault::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(36) : see declaration of 'NxAllocatorDefault::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(77) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(88) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(88) : error C3254: 'NxAllocatorDefault' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(88) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(88) : error C2556: 'void NxAllocatorDefault::instance(void)' : overloaded function differs only by return type from 'void *NxAllocatorDefault::instance(void)'
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(36) : see declaration of 'NxAllocatorDefault::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(88) : error C2040: 'NxAllocatorDefault::instance' : 'void (void)' differs in levels of indirection from 'void *(void)'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(89) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(59) : error C2589: '::' : illegal token on right side of '::'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxallocatordefault.h(59) : error C2059: syntax error : '::'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2544: expected ')' for operator '()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2143: syntax error : missing ';' before 'Ogre::MemoryManager::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2433: 'NxAllocateable::()' : '__forceinline' not permitted on data declarations
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C3254: 'NxAllocateable' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : warning C4183: 'instance': missing return type; assumed to be a member function returning 'int'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2059: syntax error : ')'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : error C2760: syntax error : expected '{' not ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2144: syntax error : 'void' should be preceded by '}'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2544: expected ')' for operator '()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2143: syntax error : missing ';' before 'Ogre::MemoryManager::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2433: 'NxAllocateable::()' : '__forceinline' not permitted on data declarations
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2086: 'void *NxAllocateable::()' : redefinition
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C3254: 'NxAllocateable' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2535: 'int NxAllocateable::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : warning C4183: 'instance': missing return type; assumed to be a member function returning 'int'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2059: syntax error : ')'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(30) : error C2760: syntax error : expected '{' not ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2144: syntax error : 'void' should be preceded by '}'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2544: expected ')' for operator '()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2143: syntax error : missing ';' before 'Ogre::MemoryManager::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2182: '()' : illegal use of type 'void'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2433: 'NxAllocateable::()' : '__forceinline' not permitted on data declarations
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2040: 'NxAllocateable::()' : 'int' differs in levels of indirection from 'void *'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C3254: 'NxAllocateable' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2535: 'int NxAllocateable::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : warning C4183: 'instance': missing return type; assumed to be a member function returning 'int'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2059: syntax error : ')'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(31) : error C2760: syntax error : expected '{' not ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2144: syntax error : 'void' should be preceded by '}'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2544: expected ')' for operator '()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2143: syntax error : missing ';' before 'Ogre::MemoryManager::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2182: '()' : illegal use of type 'void'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2433: 'NxAllocateable::()' : '__forceinline' not permitted on data declarations
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2040: 'NxAllocateable::()' : 'int' differs in levels of indirection from 'void *'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C3254: 'NxAllocateable' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2535: 'int NxAllocateable::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : warning C4183: 'instance': missing return type; assumed to be a member function returning 'int'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2059: syntax error : ')'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(32) : error C2760: syntax error : expected '{' not ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2144: syntax error : 'void' should be preceded by '}'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2544: expected ')' for operator '()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2143: syntax error : missing ';' before 'Ogre::MemoryManager::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2433: 'NxAllocateable::()' : '__forceinline' not permitted on data declarations
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2086: 'void *NxAllocateable::()' : redefinition
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C3254: 'NxAllocateable' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2535: 'int NxAllocateable::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : warning C4183: 'instance': missing return type; assumed to be a member function returning 'int'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2059: syntax error : ')'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(34) : error C2760: syntax error : expected '{' not ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(35) : error C2144: syntax error : 'void' should be preceded by '}'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(35) : error C2544: expected ')' for operator '()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(35) : error C2143: syntax error : missing ';' before 'Ogre::MemoryManager::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(35) : error C2433: 'NxAllocateable::()' : '__forceinline' not permitted on data declarations
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(35) : error C2086: 'void *NxAllocateable::()' : redefinition
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(29) : see declaration of 'NxAllocateable::()'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\physics\include\nxallocateable.h(35) : fatal error C1003: error count exceeds 100; stopping compilation
1>ConfigurationManager.cpp
1>DebugControl.cpp
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : error C3254: 'NxUserAllocator' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : error C2238: unexpected token(s) preceding ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : warning C4002: too many actual parameters for macro 'malloc'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : error C3254: 'NxUserAllocator' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(496) : error C2535: 'void *NxUserAllocator::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : see declaration of 'NxUserAllocator::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(497) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C3254: 'NxUserAllocator' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C2535: 'void *NxUserAllocator::instance(void)' : member function already defined or declared
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : see declaration of 'NxUserAllocator::instance'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(516) : error C2238: unexpected token(s) preceding ';'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2143: syntax error : missing ';' before '.'
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C3254: 'NxUserAllocator' : class contains explicit override 'instance' but does not derive from an interface that contains the function declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2838: 'instance' : illegal qualified name in member declaration
1>d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(528) : error C2556: 'void NxUserAllocator::instance(void)' : overloaded function differs only by return type from 'void *NxUserAllocator::instance(void)'
1> d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\sdks\foundation\include\nxuserallocator.h(480) : see declaration of 'NxUserAllocator::instance'

anpd

13-11-2006 06:56:49

Try using #include <OgreNoMemoryMacros.h> before including physics headers and then after #include <OgreMemoryMacros.h>

betajaen

13-11-2006 07:56:54

Question is why are you directly including the headers like that, NxOgre (which I assume your using) doesn't require you to do that.

Also when you "#include NxOgre" do it this way:

#include "NxOgre.h"
#include "Ogre.h"
// Rest of includes.

That way you won't get the controller manager conflict either.

DieHard

13-11-2006 09:05:03

What do you mean by "directly including the headers"?

What I did is I attach your NxOgre project into my solution. And, then I compile the NxOgre manually and separately (compiled successfully). But, I get the errors "above" compiling my project. Is there something wrong?

betajaen

13-11-2006 09:29:28

I assume the tutorials work properly.

Have a look at them and see how they are set up; project settings and #includes.

However all I expect something isn't in the right place or something is missing, nothing to drastic.

DieHard

13-11-2006 09:38:41

I tried the "include" wrapper, it worked! Using:
#include <OgreNoMemoryMacros.h>
#include <OgreMemoryMacros.h>

But, I tried your way with the include, I get the same errors as above. Is it because my "discover" project coexist with the "nxOgre" project under the same solution?

Just an FYI for you.

I'll look into the tutorial projects and find any differences to my "discover" project.

Update:
There isn't much difference from my project settings, the only difference in my project (debug configuration):
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
CharacterSet="1"
SubSystem="2"
WholeProgramOptimization="1"

DieHard

13-11-2006 10:21:11

Using the #include <OgreNoMemoryMacros.h> and #include <OgreMemoryMacros.h> wrapper method, it compiled successfully.

Now, I get this error when starting my program:
Unhandled exception at 0x0092c9bc (NxOgre_d.dll) in discover.exe: 0xC0000005: Access violation reading location 0x00000000.

I went into debug mode and VS80 break at line 199 on nxOgre_error.cpp:
rs->convertColourValue(Ogre::ColourValue(1,0,0), pColour++); //0 colour

Here is my setup, compiled in DEBUG mode, installed:
PhysX_6.11.01_SystemSoftware.exe
PhysX_2.6.2_SDK_Core.exe
Visual C++ 2005 - 8.0
NxOgre 0.4 RC2
OIS 0.7.2
TinyXml 2.4.3
Ogre 1.2.3 (and now using Ogre 1.2.4)

Update:
Your project tutorial compiled and run successfully. But, my project, I tried almost everything, I reached a roadblock. Please help. Thank you!

betajaen

13-11-2006 11:45:17

No all of that seems perfectly fine. The only thing that does concern me is the memory macro problem.

Ideally using NxOgre you should need to go anywhere near that, well at least with projects I've been working with. The core of NxOgre has been working with me for over a year now, and it's stable as it can get.

Can you triple check that NxOgre is the first header to be included anywhere, even before the non-Ogre related ones.

DieHard

13-11-2006 12:07:32

Below is the only file using nxOgre. To make sure it's first, in my "discover.h", I comment-out all the "#include".

I checked the project settings a couple times, made changes to reflect the tutorial project, but still the same thing errors on my project. I even used my "Files Compare Tool" to compare the project settings line-by-line.

FYI, "nxOgre" project is compiled manually successfully. All the "lib", "include", "dependencies", and "dll" pointing correctly and in the right place. In my "discover" project, there is no errors in my source files out of 761 errors and 53 warnings (coming from the SDK).


/**
@file
ObjectManager.h
@brief
Coming soon.
@author
William Chang
@version
0.1
@date
- Created: 2006-11-04
- Modified: 2006-11-08
.
@note
References:
- http://www.ogre3d.org/wiki/index.php/Documentation_Architecture
- http://www.ogre3d.org/docs/api/html/
.
*/

#ifndef __ObjectManager_H__
#define __ObjectManager_H__

#include "nxOgre.h"
#include "Ogre.h"

namespace Discover {

/** @class ObjectManager */
class ObjectManager {
public:
/// Standard constructor.
ObjectManager();
/// Standard destructor.
virtual ~ObjectManager();

/// Initialize manager.
bool initializeThis();
/// Register manager's frame listeners.
void registerFrameListener();

/// Create physics applied object.
void createObjectDynamic();

// Declare render objects.
Ogre::Root* renderRoot; ///< Root class of the Ogre system.
Ogre::RenderWindow* renderWindow; ///< Manages the target rendering window.
Ogre::SceneManager* renderSceneMgr; ///< Manages the organization and rendering of a scene.
Ogre::Camera* renderCamera; ///< A viewpoint from which the scene will be rendered.

// Declare physics objects.
nxOgre::world* physicsWorld;
nxOgre::scene* physicsScene;
nxOgre::body* physicsBody;

// Declare tracker.
static int intObjectTotal;
protected:
void createSceneManager();

/// Update tracker.
void updateTracker(Ogre::String name, Ogre::String description);

// Declare Scene.
Ogre::SceneNode* mNode;
Ogre::Entity* mEnt;
// Declare Size.
Ogre::Vector3 vecSize;
Ogre::Vector3 vecBbSize;
};

} // END namespace Discover

#endif // #ifndef __ObjectManager_H__


I'm going nuts, pulling my hair of what's left.

betajaen

13-11-2006 12:22:04

Hmm.

Let's try something in your main.cpp file comment it all out and replace it roughly with the following:


#include "nxOgre.h"
#include "Ogre.h"

using namespace nxOgre;

int main(......) {

world* mWorld = new world(Ogre::Root::getSingletonPtr());
delete mWorld;

}



Don't try to run it, as it'll crash (Null Root pointer). But if it doesn't compile then something is wrong with the project settings; or worse.

DieHard

13-11-2006 13:28:20

Update:
What I tried now is remove all the "SDKs" from the "Additional Include Directories." The only compile error I get is:
d:\my projects\visual studio 2005\projects\ogresdk\project1\discover\mod\ageia\nxogre\include\nxogre_includes.h(36) : fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory

Another Update:
Comment-out everything in "main.cpp" and added your code, still I get the same errors as above (hundreds of errors).

I'm thought about dependencies. So, I started disassembling the source files from the "discover" project. Every piece I dismantle, like the OIS and TinyXml, I keep getting the same error. I keep going simplier, until I have two files "FindingHaven.h" and the "Main.cpp." It finally compiled successfully with NxOgre:


/**
@file
FindingHaven.h
@brief
Coming soon.
@author
William Chang
@version
0.1
@date
- Created: 2006-11-04
- Modified: 2006-11-08
.
*/

#ifndef __FindingHaven_H__
#define __FindingHaven_H__

#include <nxOgre.h>
#include <Ogre.h>

/** @class FindingHaven */
class FindingHaven {
public:
FindingHaven() {}
virtual ~FindingHaven() {}
void go() {
nxOgre::world* mWorld = new nxOgre::world(Ogre::Root::getSingletonPtr());
delete mWorld;
}
};

#endif // #ifndef __FindingHaven_H__


So my conclusion is I have no freaking idea!!! OIS and TinyXml is the only third-party libraries left and removed from the "discover" project. I still have the same errors. The funny part is I removed all the NxOgre codes including the "#include" too. Same errors again.

So, my code is now using only Ogre.h. What else? The only thing special is I'm using global.h (using OgreSingleton.h and inheriting Ogre::Singleton<Global>) so my objects (managers) can be global using getSingleton().

FYI, before I started integrated NxOgre, my "discover" project compile and runs perfectly with no errors.

I'm lost. I'm gonna take a break.

betajaen

13-11-2006 13:43:10

Me too.

TinyXML and OIS both work with NxOgre and PhysX, I should know I've used/use them.

The only thing I can think about is that some how Ogre.h is being included before NxOgre.h which in the past would only result in an error or two about the controllermanager nut since Debug has been fixed; it seems that the Ogre's memory manager is causing these many errors.

Just a query, what happens if you run it in release - with the rest of your code?

DieHard

13-11-2006 15:51:48

You know what?

Before I take a nap. I uploaded my source files with everything you need to compile the "discover" project. The "nxOgre" project is compiled and included with the zip. You only need to address the variable "Ogre_Home" to the OgreSDK folder. Everything else is using relative to their paths (kewl huh?). Make sure to unzip it under "OgreSDK" folder:
Link removed by the betajaen. We don't want everyone to have your source do we ;)

The "discover" project should compile and run succesfully as tested. All the NxOgre codes are commented-out. To start working on it, use ObjectManager.h and ObjectManager.cpp, and uncomment the NxOgre codes.

Remember to have, if necessary at least:
PhysX_6.11.01_SystemSoftware.exe
PhysX_2.6.2_SDK_Core.exe
Ogre 1.2.4
Visual C++ 2005 - 8.0

I hope when you compile you will see the same problems I had, so you can really look into this deeply. Find where the fault is? I really like to integrate physics NxOgre to my project instead of OgreNewt.

Good luck! Thanks for the help!

betajaen

13-11-2006 17:12:05

Alright, I'm getting a bit of bugs with Ogre itself, referring to setDebugText and getDebugText are missing.

I'll stick at it though, but there bit's about PlatformManagers that I have no hope in fixing.

[Edit]

Alright. I've traced the error. It's the #include <OgreSingleton.h> line in global.h

If you include NxOgre before that line, it'll compile.

DieHard

13-11-2006 23:59:35

Wow! :shock: You are really awesome! :D

Thank you so much for your time in helping me. What a experience I'll never forget.

How strange we have to put the #include in order, especially "nxOgre.h" has to be utmost first of everything else. Is there something wrong (weird REAL bug) that needs to be reported to Ogre's Sinbad or Ageia?

==============================================

Anyway, even though it compiled successfully, I ran into trouble running the program, same crash as the post above:Unhandled exception at 0x0092c9bc (NxOgre_d.dll) in discover.exe: 0xC0000005: Access violation reading location 0x00000000.
In debug mode it break at line 199 on nxOgre_error.cpp:
rs->convertColourValue(Ogre::ColourValue(1,0,0), pColour++); //0 colour
But, I look into myself again, I have a hunch that this is the culprit:
// Create the physics world.
physicsWorld = new nxOgre::world(renderRoot);

Must be put after all the Ogre initialization and setup. nxOgre::world cannot be created directly after this:
renderRoot = new Ogre::Root();
Then you can setup the physics directly after the nxOgre::world is created like so:
// Create the physics scene within the world.
physicsScene = physicsWorld->createScene("PhysicsScene", renderSceneMgr);
// Create gravity force of -9.80665 m/(s^2) on y-coordinate.
physicsScene->hasGravity();


After hitting another minor brick wall, which is solved. I can finally continue programming my engine. Thank you again!

betajaen

14-11-2006 00:17:41

Technically it's Ageia's fault. For some reason they are deeply allergic to namespaces.

I can't ask Sinbad to change the ControllerManager name as he'll laugh at me and I can't ask Ageia to change there ControllerManager as they'll laugh at me. So I'm in a bit of a stalemate and the only fix I have is to typedef it PhysX's ControllerManager to something else and include NxOgre before Ogre.

Right, as for your predicament. Seems your Ogre doesn't like that manual creation of a mesh. There is away around it, comment out the contents of that method and recompile. Then make a copy of cube.1m.mesh (you'll find it in one of the zips in media), copy it your media folder and rename it to NxOgre.ErrorCube

The purpose for that mesh, is now for a secret but only reveled when your shape or body, well as the British say it; completely knackered.

[Edit]
After re-reading your post....

...Or you could not pass on some random uninitalised pointer to World ;)