Skip to main content

History: OgreNewt Linux Installation

Preview of version: 2

Recently I had noticed a lack of love for linux in terms of build directions for several of the Ogre addons. Here I will explain how to get Newton/OgreNewt going with the latest version of Ogre (1.4.4).

Before we continue I expect you have:
boost: http://www.boost.org/
scons: http://www.scons.org/

Check your distro's package manager, they are very common things.

First, we need Newton:

Copy to clipboard
wget http://www.newtondynamics.com/downloads/newtonLinux-1.53.tar.gz tar xzf newtonLinux-1.53.tar.gz cd newtonSDK/sdk/ sudo cp Newton.h /usr/include sudo cp -R customJoints /usr/include sudo cp libNewton.a /usr/lib

Now the Newton header needs to be modified to add a missing include. Use your favorite editor and and put this on the first line:

Copy to clipboard
#include <stddef.h>


Now lets get OgreNewt from the ogreaddons cvs:

Copy to clipboard
cvs -z3 -d:pserver:anonymous@cvs.ogre3d.org:/cvsroot/ogre co -P ogreaddons/ogrenewt cd ogreaddons/ogrenewt/ mv SConscript OgreNewt_Main scons sudo scons install prefix=/usr


When you use OgreNewt in your project, be sure to link in Newton (-lNewton) *after* OgreNewt, or else your going to get a bunch of undefined function errors.

Your done. Go have fun.

History

Information Version
Thu 20 of May, 2010 02:27 GMT-0000 jacmoe 4
Thu 20 of May, 2010 02:25 GMT-0000 jacmoe 3
Thu 31 of Dec, 2009 14:33 GMT-0000 jacmoe 2
Fri 08 of May, 2009 10:27 GMT-0000 Spacegaier added category 1