Problem compiling OgreAL

36 views
Skip to first unread message

yaio

unread,
Feb 3, 2010, 9:11:36 AM2/3/10
to Python Ogre Developers
Hello, I'm trying to compile the OgreAL module, and when I perform the
step:

python python-ogre/BuildModule.py -c ogreal

I receive this error (from log.out):

[...]
File "/home/flavio/development/python-ogre/SConstruct", line 148, in
<module>
In file included from /home/flavio/development/root/usr/include/OGRE/
OgreResourceGroupManager.h:33,
from /home/flavio/development/root/usr/include/OGRE/
OgreResourceManager.h:35,
from /home/flavio/development/root/usr/include/OGRE/
OgreArchiveManager.h:34,
from /home/flavio/development/root/usr/include/OGRE/
Ogre.h:39,
from generated/ogreal_r130/OgreALPrereqs.h:39,
from generated/ogreal_r130/OgreALException.h:39,
from generated/ogreal_r130/OgreALListener.cpp:36:
/home/flavio/development/root/usr/include/OGRE/OgreSingleton.h: In
constructor ‘Ogre::Singleton<T>::Singleton() [with T =
OgreAL::Listener]’:
generated/ogreal_r130/OgreALListener.cpp:49: instantiated from here
/home/flavio/development/root/usr/include/OGRE/OgreSingleton.h:71:
error: ‘Ogre::Singleton<OgreAL::Listener>’ is an inaccessible base of
‘OgreAL::Listener’
scons: *** [build_dir_2.6/ogreal_r130/OgreALListener.os] Error 1

How can I solve this? Thanks!

yaio

unread,
Feb 4, 2010, 7:10:25 AM2/4/10
to Python Ogre Developers
Solved modifying OgreALListener.h line 53 from

class OgreAL_Export Listener : public Ogre::MovableObject, protected
Ogre::Singleton<Listener>

to

class OgreAL_Export Listener : public Ogre::MovableObject, public
Ogre::Singleton<Listener>

But I don't know if there are contraindications doing this.

Reply all
Reply to author
Forward
0 new messages