Open fabrixx opened 11 years ago
If i try to compile git version (gtk) i have:
UserDataHolder()'
src/formats/txt/TxtReader.o: In function TxtReader::TxtReader(std::string const&)': TxtReader.cpp:(.text+0x622): undefined reference to
ZLEncodingConverter::UTF16'
TxtReader.cpp:(.text+0x64a): undefined reference to ZLEncodingConverter::UTF16BE' src/formats/tcr/TcrStream.o: In function
TcrStream::TcrStream(ZLFile const&)':
TcrStream.cpp:(.text+0x61d): undefined reference to `ZLUserDataHolder::ZLUserDataHolder()'
collect2: error: ld returned 1 exit status
I have this error at make (Debian testing x64):
ZLGtkDialogManager.cpp:39:82: required from here /home/fabrizio/Scrivania/fbreader-0.99.4/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:147:3: warning: deleting object of abstract class type ‘ZLOpenFileDialog’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] make[2]: * [ZLGtkDialogManager.o] Error 1 make[2]: Leaving directory `/home/fabrizio/Scrivania/fbreader-0.99.4/zlibrary/ui/src/gtk/dialogs' make[1]: * [.objects] Error 1 make[1]: Leaving directory`/home/fabrizio/Scrivania/fbreader-0.99.4/zlibrary/ui
I read here: https://github.com/geometer/FBReader/issues/146#issuecomment-7126505 That only support qt4, i have to switch to qt4?
I have to add manually target.mk in 0.99 git version?
I notice 2 problems:
1 - In Debian i have packages libzlui-gtk and libzlui-qt4 libzlui-gtk install zlui-gtk.so in /usr/lib/zlibrary/ui/ and is necessary to link it in /usr/lib with libzlui.so name
2 - The lunibreak.deb that you provided install libunibreak.so.1 that i have to link into libunibreak.so to recognize
Thank you excuse me for bad English