Debian wheezy and ogre tutorial

I am trying to build the first ogre review

I am on Debian Wheezy - beta 4 and I have installed these packages:

  • libois-dev
  • libogre-dev

I built a tutorial using this line:

g++ -I/usr/include/OGRE -I/usr/include/OIS -lOgreMain -lOIS -o main *.cpp 

I get this: SdkTrays.h no such file or directory

I checked the header is neither in / usr / include nor in / usr / local / include (recursively).

Is it possible to get sdktrays under debian squeeze?

+6
source share
2 answers

All code from the samples has been removed from Debian because it contains a lot of unknown, DFSG-free content, as described in Debian Bug # 684218 . After discussing this with OGRE developers, Debian developers decided to simply delete the entire Samples directory, which the tutorial breaks up because it relies a lot on samples for some early simple things and GUI models.

All versions up to 1.7.4 + dfsg1-6 contain samples. Here's how to create it from the source repository:

  • Clone source debian repository from http://anonscm.debian.org/git/pkg-games/ogre.git
  • Check out the latest version of debian packages, which includes samples - git co debian/1.7.4-5
  • Build a package (unsigned) - git-buildpackage -us -uc -rfakeroot --git-ignore-branch
  • Install your packages using dpkg -i in the directory above this. You will probably want to use either the regular or -dbg versions of the libraries, and not all of them.
  • Now you can compile training applications.

In the end, you move away from the sample framework used in the samples, and you can replace this old version with official Debian.

+6
source

I just looked at the available packages, and even version 1.8 for some reason does not include OgreBites (to which SdkTrays belongs).

As a result, your only option is to build Ogre from the source and extract the code yourself from the official Ogre BitBucket repository .

+1
source

All Articles