lxcid
15-11-2007 10:15:36
I couldn't come out with a better title to describe my problem. Sorry.
I wanted to use Ageia PhysX in my Ogre application.
I choose to use NxOgre to provide me the bridge to PhysX.
My IDE was Visual Studio .NET 2003 and I doesn't have 2005 so I tried to compile NxOgre in 2003.
I got it compiled in .NET 2003.
I then try to include it in my Ogre application.
This is where i face this error.
I try to show u as much information as I can.
Thanks in advance.
I wanted to use Ageia PhysX in my Ogre application.
I choose to use NxOgre to provide me the bridge to PhysX.
My IDE was Visual Studio .NET 2003 and I doesn't have 2005 so I tried to compile NxOgre in 2003.
I got it compiled in .NET 2003.
I then try to include it in my Ogre application.
This is where i face this error.
Compiling...
RedkiteScreenManager.cpp
c:\10.0.0.228\RedKite_svn\trunk\playground\20071003_pro_ogre_3d_programming\lib\AGEIA\PhysX\v2.7.2\SDKs\Foundation\include\NxQuat.h(121) : error C2062: type 'double' unexpected
c:\10.0.0.228\RedKite_svn\trunk\playground\20071003_pro_ogre_3d_programming\lib\AGEIA\PhysX\v2.7.2\SDKs\Foundation\include\NxQuat.h(121) : error C2238: unexpected token(s) preceding ';'
c:\10.0.0.228\RedKite_svn\trunk\playground\20071003_pro_ogre_3d_programming\lib\AGEIA\PhysX\v2.7.2\SDKs\Foundation\include\NxQuat.h(426) : error C2589: '(' : illegal token on right side of '::'
c:\10.0.0.228\RedKite_svn\trunk\playground\20071003_pro_ogre_3d_programming\lib\AGEIA\PhysX\v2.7.2\SDKs\Foundation\include\NxQuat.h(426) : warning C4091: '__forceinline ' : ignored on left of 'void' when no variable is declared
c:\10.0.0.228\RedKite_svn\trunk\playground\20071003_pro_ogre_3d_programming\lib\AGEIA\PhysX\v2.7.2\SDKs\Foundation\include\NxQuat.h(426) : error C2143: syntax error : missing ';' before '::'
c:\10.0.0.228\RedKite_svn\trunk\playground\20071003_pro_ogre_3d_programming\lib\AGEIA\PhysX\v2.7.2\SDKs\Foundation\include\NxQuat.h(426) : error C2059: syntax error : '::'
c:\10.0.0.228\RedKite_svn\trunk\playground\20071003_pro_ogre_3d_programming\lib\AGEIA\PhysX\v2.7.2\SDKs\Foundation\include\NxQuat.h(427) : error C2143: syntax error : missing ';' before '{'
c:\10.0.0.228\RedKite_svn\trunk\playground\20071003_pro_ogre_3d_programming\lib\AGEIA\PhysX\v2.7.2\SDKs\Foundation\include\NxQuat.h(427) : error C2447: '{' : missing function header (old-style formal list?)
c:\10.0.0.228\RedKite_svn\trunk\playground\20071003_pro_ogre_3d_programming\lib\NxOgre\include\NxOgreIntersection.h(31) : fatal error C1903: unable to recover from previous error(s); stopping compilation
I try to show u as much information as I can.
Thanks in advance.