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!
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.