Compiling and running OgreNewt with NewtonSDK

kane7777

26-07-2009 08:28:07

Hi,

I am trying to compile and run Demo01 using OgreNewt and Newton Dynamics engine. However I get some errors which I have no idea how to solve them. Can anyone help me out? The errors are below:

1>------ Build started: Project: Demo01_TheBasics, Configuration: Debug Win32 ------
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>OgreNewtApplication.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(37) : error C2039: 'CollisionPtr' : is not a member of 'OgreNewt'
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(37) : error C2065: 'CollisionPtr' : undeclared identifier
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(37) : error C2146: syntax error : missing ';' before identifier 'col'
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(37) : error C3861: 'col': identifier not found
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(37) : error C2664: 'OgreNewt::CollisionPrimitives::TreeCollision::TreeCollision(const OgreNewt::World *,Ogre::SceneNode *,bool,OgreNewt::CollisionPrimitives::FaceWinding)' : cannot convert parameter 2 from 'Ogre::Entity *' to 'Ogre::SceneNode *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(38) : error C2065: 'col' : undeclared identifier
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(39) : error C2039: 'attachNode' : is not a member of 'OgreNewt::Body'
1> k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\ogrenewt_body.h(43) : see declaration of 'OgreNewt::Body'
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(52) : error C2065: 'col' : undeclared identifier
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(52) : error C2039: 'CollisionPtr' : is not a member of 'OgreNewt'
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(52) : error C3861: 'CollisionPtr': identifier not found
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(53) : error C2065: 'col' : undeclared identifier
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(54) : error C2039: 'attachNode' : is not a member of 'OgreNewt::Body'
1> k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\ogrenewt_body.h(43) : see declaration of 'OgreNewt::Body'
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(80) : error C2065: 'col' : undeclared identifier
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(80) : error C2039: 'CollisionPtr' : is not a member of 'OgreNewt'
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(80) : error C3861: 'CollisionPtr': identifier not found
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(81) : error C2065: 'col' : undeclared identifier
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(82) : error C2039: 'attachNode' : is not a member of 'OgreNewt::Body'
1> k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\ogrenewt_body.h(43) : see declaration of 'OgreNewt::Body'
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(108) : error C2065: 'col' : undeclared identifier
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(108) : error C2039: 'CollisionPtr' : is not a member of 'OgreNewt'
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(108) : error C3861: 'CollisionPtr': identifier not found
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(109) : error C2065: 'col' : undeclared identifier
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(110) : error C2039: 'attachNode' : is not a member of 'OgreNewt::Body'
1> k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\ogrenewt_body.h(43) : see declaration of 'OgreNewt::Body'
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(137) : error C2065: 'col' : undeclared identifier
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(137) : error C2039: 'CollisionPtr' : is not a member of 'OgreNewt'
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(137) : error C3861: 'CollisionPtr': identifier not found
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(138) : error C2065: 'col' : undeclared identifier
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(139) : error C2039: 'attachNode' : is not a member of 'OgreNewt::Body'
1> k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\ogrenewt_body.h(43) : see declaration of 'OgreNewt::Body'
1>k:\drive e\3dgamestudio\shortcuts\evolution reality\newton\ogre\ogreaddons\ogrenewt\demos\demo01_thebasics\ogrenewtapplication.cpp(163) : error C2661: 'OgreNewt::BasicFrameListener::BasicFrameListener' : no overloaded function takes 2 arguments
1>Build log was saved at "file://k:\Drive E\3dGameStudio\ShortCuts\Evolution Reality\Newton\OGRE\ogreaddons\OgreNewt\demos\Demo01_TheBasics\Build\Debug\BuildLog.htm"
1>Demo01_TheBasics - 28 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========