FreeFileSync 8.5 compiles straightforward with Lubuntu 16.10 32 bit and zenXml 2.3; using FreeFileSync 8.6 instead, the make command gives the following error:
mkdir -p ../Obj/FFS_GCC_Make_Release/ffs/src/ui/
g++ -std=c++14 -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -Wall -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -DZEN_LINUX -pthread `pkg-config --cflags gtk+-2.0` -c ui/main_dlg.cpp -o ../Obj/FFS_GCC_Make_Release/ffs/src/ui/main_dlg.o
ui/main_dlg.cpp: In member function ‘xmlAccess::XmlGlobalSettings MainDialog::getGlobalCfgBeforeExit()’:
ui/main_dlg.cpp:1046:68: error: ‘class wxListBox’ has no member named ‘GetTopItem’; did you mean ‘GetCount’?
globalSettings.gui.cfgFileHistFirstItemPos = m_listBoxHistory->GetTopItem();
^~~~~~~~~~
Makefile:99: recipe for target '../Obj/FFS_GCC_Make_Release/ffs/src/ui/main_dlg.o' failed
Any suggestion?
FreeFileSync 8.6 does not compile in Lubuntu 16.10 32 bit
- Posts: 1
- Joined: 25 Oct 2016
- Posts: 4
- Joined: 18 Oct 2016
i get the same error, anyone knows how to solve it?
- Site Admin
- Posts: 7282
- Joined: 9 Dec 2007
Wrong wxWidgets version?
- Posts: 4
- Joined: 18 Oct 2016
the ubuntu 16.10 libwxgtk3.0-0v5 and libwxgtk3.0-dev packages should be wxwidgets 3.0.2.
in my case commenting out this line works.
in my case commenting out this line works.
- Posts: 4
- Joined: 18 Oct 2016
So this error and the warning which is shown when compiling with gcc 6 (shown below) are indicating that something is wrong with the wxwidget dev package in ubuntu 16.10? So we should open a bug report there? Could you tell us what wx version is used for providing the pre compiled version? It seems to be compiled with Ubuntu 6.2.0-5ubuntu12 but i couldn't read out the wx-widget version. thanks in advance!
Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).
Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).
- Posts: 6
- Joined: 30 Oct 2016
I'm sorry if my comment doesn't help but I hope that it does. I'm using Linux Mint 18, and indeed version 8.5 works fine for me but 8.6 doesn't. I tried running the file in terminal and it told me that a file was missing but I was able to download the file using Software Manager so I tried again. This time it came up with "FreeFileSync: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by xxx/xxx/xxx/FreeFileSync). I haven't been able to find this file so I've reinstalled 8.5.