Using OgreAL with Ogre Head

misterice

26-05-2008 11:49:51

First of all, great job in making this lib!

I just post some information for getting it to work with the latest Ogre version:

Since OGRE_VERSION_MINOR has changed to 7 recently, I had to modify the two lines
#if(OGRE_VERSION_MAJOR == 1 && OGRE_VERSION_MINOR == 5)
to
#if(OGRE_VERSION_MAJOR == 1 && (OGRE_VERSION_MINOR == 5) || (OGRE_VERSION_MINOR == 7))

Other than that, there'll be some error messages, because the Renderable interface has slightly changed (as stated in the Porting Notes: http://www.ogre3d.org/wiki/index.php/ShoggothNotes)

I just replaced every
getWorldOrientation()
with
_getDerivedOrientation()

I hope I did everything right - but it works for me - for now ;-)

alphasnd

28-05-2008 16:09:09

You could also change 'OGRE_VERSION_MINOR == 5' to 'OGRE_VERSION_MINOR >= 5' to avoid doing it for every new Ogre version.

misterice

28-05-2008 16:24:55

You could also change 'OGRE_VERSION_MINOR == 5' to 'OGRE_VERSION_MINOR >= 5' to avoid doing it for every new Ogre version.
True, but who knows what version 9 will bring ;-)

alphasnd

28-05-2008 17:49:40

:lol: