[BUG]SamplesFrameworkBase has pure virtual function error
Posted: Wed Aug 07, 2013 18:01
I'm building CEGUI 0.8.2 on Linux. 98% of it builds but this bug kills the build and prevents "make install". It looks like a trivial error in pure virtual function specification? I have not chased through the .h files to determine the exact problem. The Mercurial repository also has this problem.
Code: Select all
[ 98%] Building CXX object samples_framework/CMakeFiles/CEGUISampleFramework-0.8.dir/src/SamplesFrameworkBase.cpp.o
In file included from /home/bvanevery/devel/cegui-0.8.2/samples_framework/src/SamplesFrameworkBase.cpp:62:0:
/home/bvanevery/devel/cegui-0.8.2/samples_framework/include/CEGuiDirectFBBaseApplication.h:63:23: error: ‘CEGuiSample’ has not been declared
/home/bvanevery/devel/cegui-0.8.2/samples_framework/src/SamplesFrameworkBase.cpp: In member function ‘virtual bool SamplesFrameworkBase::runApplication()’:
/home/bvanevery/devel/cegui-0.8.2/samples_framework/src/SamplesFrameworkBase.cpp:263:58: error: cannot allocate an object of abstract type ‘CEGuiDirectFBBaseApplication’
In file included from /home/bvanevery/devel/cegui-0.8.2/samples_framework/src/SamplesFrameworkBase.cpp:62:0:
/home/bvanevery/devel/cegui-0.8.2/samples_framework/include/CEGuiDirectFBBaseApplication.h:41:7: note: because the following virtual functions are pure within ‘CEGuiDirectFBBaseApplication’:
In file included from /home/bvanevery/devel/cegui-0.8.2/samples_framework/include/CEGuiOgreBaseApplication.h:31:0,
from /home/bvanevery/devel/cegui-0.8.2/samples_framework/src/SamplesFrameworkBase.cpp:50:
/home/bvanevery/devel/cegui-0.8.2/samples_framework/include/CEGuiBaseApplication.h:134:18: note: virtual void CEGuiBaseApplication::run()
/home/bvanevery/devel/cegui-0.8.2/samples_framework/include/CEGuiBaseApplication.h:136:18: note: virtual void CEGuiBaseApplication::destroyWindow()
make[2]: *** [samples_framework/CMakeFiles/CEGUISampleFramework-0.8.dir/src/SamplesFrameworkBase.cpp.o] Error 1