[Slackbuilds-users] fbreader fails to build with gtk option

Willy Sudiarto Raharjo willysr at slackbuilds.org
Mon May 23 20:52:12 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

Since it's no longer maintained upstream and qt4 interface works, i will
remove the GTK UI part in my branch until someone give better solution.


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20160524/904abbf1/attachment.asc>


More information about the SlackBuilds-users mailing list