[Slackbuilds-users] fbreader fails to build with gtk option
Vasily Sora
khronosschoty at utmail.net
Mon May 23 20:29:07 UTC 2016
When I try and compile fbreader on current with the gtk option I get
this error:
Compiling ZLGtkUtil.o ...In file included from ZLGtkUtil.cpp:24:0:
ZLGtkDialogManager.h: In static member function 'static void
ZLGtkDialogManager::createInstance()':
ZLGtkDialogManager.h:33:70: error: invalid new-expression of abstract
class type 'ZLGtkDialogManager'
static void createInstance() { ourInstance = new ZLGtkDialogManager(); }
^
ZLGtkDialogManager.h:30:7: note: because the following virtual
functions are pure within 'ZLGtkDialogManager':
class ZLGtkDialogManager : public ZLDialogManager {
^
In file included from ZLGtkDialogManager.h:28:0,
from ZLGtkUtil.cpp:24:
/home/tmp/SBo/fbreader-0.99.4/zlibrary/ui/../../zlibrary/core/include/ZLDialogManager.h:76:35:
note: virtual shared_ptr<ZLTreeDialog>
ZLDialogManager::createTreeDialog(const ZLResource&) const
virtual shared_ptr<ZLTreeDialog> createTreeDialog(const ZLResource
&resource) const = 0;
^
/home/tmp/SBo/fbreader-0.99.4/zlibrary/ui/../../zlibrary/core/include/ZLDialogManager.h:88:39:
note: virtual shared_ptr<ZLProgressDialog>
ZLDialogManager::createProgressDialog(const ZLResourceKey&, bool) const
virtual shared_ptr<ZLProgressDialog> createProgressDialog(const
ZLResourceKey &key, bool network) const = 0;
^
/home/tmp/SBo/fbreader-0.99.4/zlibrary/ui/../../makefiles/gtksubdir.mk:19:
recipe for target 'ZLGtkUtil.o' failed
make[2]: *** [ZLGtkUtil.o] Error 1
make[2]: Leaving directory
'/home/tmp/SBo/fbreader-0.99.4/zlibrary/ui/src/gtk/dialogs'
Makefile:94: recipe for target '.objects' failed
make[1]: *** [.objects] Error 1
make[1]: Leaving directory '/home/tmp/SBo/fbreader-0.99.4/zlibrary/ui'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 1
More information about the SlackBuilds-users
mailing list