NOT possible to compile ffs 8.7 for 32 AND 64 bit!!!

Get help for specific problems
Posts: 3
Joined: 7 Dec 2016

wdsm

Hello,

does anybody know why ffs 8.7 does not compile?

boost 1.62.0
wxgtk 3.1.0
webkitgtk2 2.4.11
zenxml 2.4
gcc 6.2.1


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 algorithm.cpp -o ../Obj/FFS_GCC_Make_Release/ffs/src/algorithm.o
In file included from file_hierarchy.h:25:0,
from algorithm.h:11,
from algorithm.cpp:7:
fs/abstract.h: In static member function ‘static bool zen::AbstractFileSystem::havePathDependency(const zen::AbstractPath&, const zen::AbstractPath&)’:
fs/abstract.h:60:45: error: ‘warn_static’ was not declared in this scope
warn_static("remove after migration")
^
fs/abstract.h:62:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
make: *** [Makefile:100: ../Obj/FFS_GCC_Make_Release/ffs/src/algorithm.o] Error 1

thank you
Posts: 1
Joined: 22 Dec 2016

frasou

Same problem here.
Did you find the solution?

dev-libs/boost-1.56.0-r1
sys-devel/gcc-4.9.3
x11-libs/wxGTK-2.8.12.1-r1
x11-libs/wxGTK-3.0.2.0-r2
dev-qt/qtwebkit-4.8.6-r1
dev-qt/qtwebkit-5.6.1
net-libs/webkit-gtk-2.4.11-r200
Posts: 1
Joined: 5 May 2017

ildar_prophet

@Zenju , I see that too.
Do you have any idea why?
fs/abstract.cpp:81:61: error: 'warn_static' was not declared in this scope
warn_static("evaluate: consequences of stale attributes")
^
fs/abstract.cpp:85:36: error: 'streamOut' was not declared in this scope
bufferedStreamCopy(*streamIn, *streamOut); //throw FileError, X
Posts: 22
Joined: 31 Jul 2016

eRCaGuy

@Zenju, same problem here when compiling on Ubuntu 14.04 with:

FFSync source 9.7
gcc 7.2

Any idea how to get it to compile? The Ubuntu 14.04 repository only has up to version 7.7 or so so I'm trying to compile from source to get the latest FreeFileSync version.

UPDATE: I just opened a new thread here: viewtopic.php?t=4941