Print

About

This article is a reference for notes specific to building OGREODE on linux with GNU Make. The main note to remember is that the demo applications need to be built with the headers and media files in the 'Samples' folder of the OGRE source installation.

Examples

These examples were tested with OGRE v1.6.3, libODE 0.11.1, and OGREODE from SVN on 20090822. OGREODE was extracted to the base OGRE source at 'ogre/ogreaddons/ogreode'

Run the autogen.sh script if you downloaded from SVN

$ cd ogre/ogreaddons/ogreode (or wherever you installed)
 $ sh autogen.sh

The '--with-samples=' option is important to match up to your OGRE source installation

$ ./configure --with-samples=../../Samples

If you get a bunch of errors on this step that start with 'ExampleApplication.h not found', you'll need to edit the '--with-samples=' path from the previous step.

$ make -j4 (or however many threads you want to use)

This is for making a slackware package, change this step according to your distribution.

$ su -c 'checkinstall -S --install=no'

Notes

 

  • If you're making an OGREODE package to install on other machines, you probably want to extract out the demos, and rebuild your package.

 

Reference

Problem compiling with AMD64 Linux(external link)


Contributors to this page: jacmoe133512 points  and Spacegaier4386 points  .
Page last modified on Wednesday 23 of December, 2009 23:00:14 UTC by jacmoe133512 points .


The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.