Ogre3D First Attempts

Today I started experimenting with Ogre3D.

Downloaded the source code:

$sudo apt-get install mercurial
$hg clone http://bitbucket.org/sinbad/ogre/ -u v1-7

Followed the included docs to build:

$sudo apt-get install cmake
$sudo apt-get install libfreetype6-dev libboost-date-time-dev libboost-thread-dev nvidia-cg-toolkit libfreeimage-dev zlib1g-dev libzzip-dev libois-dev libcppunit-dev doxygen libxt-dev libxaw7-dev libxxf86vm-dev libxrandr-dev libglu-dev

To my surprise, one of the dependencies was a complete tex-system.
Used cmake-gui with as build directory a separate directory. Chose to build everything, also the samples and tests, but not static. Generated all the scripts and (in the build-dir):

$make
$make install

Then in

/path/to/builddirectory/bin/Samples

I executed the SampleBrowser, with worked perfectly.
Then I started the tutorials, setting up a build system with autotools and creating the first example. It did compile, but on running an error about not finding a library was thrown, which I solved with:

sudo ldconfig /usr/local/lib

since the shared library _was_ located there.d
I copied resources.cfg and plugins.cfg from the Ogre3D samples build directory to the tutorial directory and looked if the contents were ok.
The first example ran fine.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.