Skip to main content

History: OgreNewt Linux Installation

Source of version: 1

Copy to clipboard
            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:
~pp~     boost: http://www.boost.org/
     scons: http://www.scons.org/~/pp~
Check your distro's package manager, they are very common things.

First, we need Newton:

~pp~     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~/pp~
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:
~pp~     #include <stddef.h>
~/pp~
Now lets get OgreNewt from the ogreaddons cvs:

~pp~     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
~/pp~
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.

((Category:Newton))
((Category:Linux))


        

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