Compilation error on OgreEvenListeners.h
Posted: Mon Dec 24, 2007 20:00
Looks like some of the sample code is not compiling because of a dependency on some deprecated code in Ogre.
OgreEventListeners.h doesn't exist anymore.
Is there any way I can make it skip the sample code, so the rest of CEGUI compiles?
OgreEventListeners.h doesn't exist anymore.
Is there any way I can make it skip the sample code, so the rest of CEGUI compiles?
g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../Samples/common/include -I../../../include -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include/OGRE -I/usr/local/include -I/usr/local/include/CEGUI -g -O2 -MT CEGuiSample.lo -MD -MP -MF .deps/CEGuiSample.Tpo -c CEGuiSample.cpp -fPIC -DPIC -o .libs/CEGuiSample.o
In file included from CEGuiSample.cpp:50:
../../../Samples/common/include/CEGuiOgreBaseApplication.h:36:32: error: OgreEventListeners.h: No such file or directory
../../../Samples/common/include/CEGuiOgreBaseApplication.h:93: error: expected class-name before ',' token
../../../Samples/common/include/CEGuiOgreBaseApplication.h:93: error: expected class-name before ',' token
../../../Samples/common/include/CEGuiOgreBaseApplication.h:94: error: expected class-name before '{' token
../../../Samples/common/include/CEGuiOgreBaseApplication.h:105: error: 'Ogre::MouseEvent' has not been declared
../../../Samples/common/include/CEGuiOgreBaseApplication.h:106: error: 'Ogre::MouseEvent' has not been declared
../../../Samples/common/include/CEGuiOgreBaseApplication.h:107: error: 'Ogre::KeyEvent' has not been declared
../../../Samples/common/include/CEGuiOgreBaseApplication.h:108: error: 'Ogre::KeyEvent' has not been declared
../../../Samples/common/include/CEGuiOgreBaseApplication.h:109: error: 'Ogre::MouseEvent' has not been declared
../../../Samples/common/include/CEGuiOgreBaseApplication.h:110: error: 'Ogre::MouseEvent' has not been declared
../../../Samples/common/include/CEGuiOgreBaseApplication.h:113: error: 'Ogre::KeyEvent' has not been declared
../../../Samples/common/include/CEGuiOgreBaseApplication.h:114: error: 'Ogre::MouseEvent' has not been declared
../../../Samples/common/include/CEGuiOgreBaseApplication.h:115: error: 'Ogre::MouseEvent' has not been declared
../../../Samples/common/include/CEGuiOgreBaseApplication.h:116: error: 'Ogre::MouseEvent' has not been declared
../../../Samples/common/include/CEGuiOgreBaseApplication.h:126: error: ISO C++ forbids declaration of 'EventProcessor' with no type
../../../Samples/common/include/CEGuiOgreBaseApplication.h:126: error: invalid use of '::'
../../../Samples/common/include/CEGuiOgreBaseApplication.h:126: error: expected ';' before '*' token
make[3]: *** [CEGuiSample.lo] Error 1
make[3]: Leaving directory `/home/tjk/CEGUI-0.5.0/Samples/common/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tjk/CEGUI-0.5.0/Samples/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tjk/CEGUI-0.5.0/Samples'
make: *** [all-recursive] Error 1