erdem
13-02-2008 20:26:33
I installed OgreNewt and Newton physics engine according to the tutorial in the wiki:
http://www.ogre3d.org/wiki/index.php/Og ... stallation
And I also had a look at the tutorials with Newton Game Dynamics. They compile without any problem.
But when I try to compile the demos in the ogrenewt directory (~/oggreaddons/ogrenewt/demos/Demo01_TheBasics) I get a lot of errors.
Any help would be appreciated. Thank you ..
http://www.ogre3d.org/wiki/index.php/Og ... stallation
And I also had a look at the tutorials with Newton Game Dynamics. They compile without any problem.
But when I try to compile the demos in the ogrenewt directory (~/oggreaddons/ogrenewt/demos/Demo01_TheBasics) I get a lot of errors.
g++ -DOGRE_GUI_gtk
-DOGRE_NO_FREEIMAGE -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/include/OGRE -I/usr/inclu
de/OIS -I/usr/include/ -I /usr/include/OgreNewt/ -lOgreMain -lOIS -lNewton -lOgr
eNewt OgreNewtonApplication.cpp
/usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
/tmp/ccqfbonv.o: In function `OgreNewtonApplication::createFrameListener()':
OgreNewtonApplication.cpp:(.text+0x2d6): undefined reference to `OgreNewtonFrame
Listener::OgreNewtonFrameListener(Ogre::RenderWindow*, Ogre::Camera*, Ogre::Scen
eManager*, OgreNewt::World*, Ogre::SceneNode*)'
OgreNewtonApplication.cpp:(.text+0x339): undefined reference to `OgreNewt::Basic
FrameListener::BasicFrameListener(Ogre::RenderWindow*, Ogre::SceneManager*, Ogre
Newt::World*, int)'
/usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libOgreNewt.so: undefined referenc
e to `NewtonVehicleGetFirstTireID'
/usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libOgreNewt.so: undefined referenc
e to `NewtonUserJointSetRowAcceleration'
Any help would be appreciated. Thank you ..