I opened it in a terminal and executed: $ make The binary should be waiting for you in FreeFileSync_10.14_Source/FreeFileSync/Build/Bin. Run "make" in folder FreeFileSync_10.14_Source/FreeFileSync/Source. Īlso per jmsxl you need to: change gtk+-2.0 to gtk+-3.0 and add "-latomic" to the end of LINKFLAGSĪlso In "afs/sftp.cpp", add at line 1662 (just before the #if) We need to change all occurrances (there should be two) of "g++" to "g++-9.1". The Makefile is at FreeFileSync_10.14_Source/FreeFileSync/Source/Makefile. Taking the FFS source 10.14 which jmsxl provide for me. Sudo make install # use sudo if necessary configure -disable-shared -enable-unicode Mkdir gtk-build # or any other name you like Sudo apt install build-essential libgtk-3-dev libboost-dev libssl-dev libcurl4-openssl-dev libssh2-1-dev I followed the steps in the below link (he updated it in June) to get gcc-9.1 working within an hour or so. I have not fully tried FFS, but it did execute with lots of gtk and glib warnings and errors. The 10.17 has hooks in it that prevent you from using gtk 3.0, since it is still at gtk 2.0. Thanks to jmsxl I was able to create an executable FreeFileSync using 10.14 source. Makefile:127 : la recette pour la cible « /tmp/FreeFileSync_armv7l_Make/ffs/src/base/ » a échouée /zen/stl_tools.h:16:20: fatal error: optional: Aucun fichier ou dossier de ce type I././zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wshadow -Wnon-virtual-dtor -O3 -DNDEBUG `wx-config -cxxflags -debug=no` -pthread `pkg-config -cflags openssl` `pkg-config -cflags libcurl` `pkg-config -cflags libssh2` `pkg-config -cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c base/algorithm.cpp -o /tmp/FreeFileSync_armv7l_Make/ffs/src/base/ G++ -std=c++17 -pipe -DWXINTL_NO_GETTEXT_MACRO -DLIBSSH2_OPENSSL -I./. Mkdir -p /tmp/FreeFileSync_armv7l_Make/ffs/src/base/
~/Downloads/ffsync/FreeFileSync/Source $ make I'm trying to compile freefilesync for raspberrypi but get following error