trying to compile for raspberrypi

Get help for specific problems
Gustutu
Posts: 4
Joined: 15 Mar 2019

Post by Gustutu • 15 Mar 2019, 12:34

Hello,

I'm trying to compile freefilesync for raspberrypi but get following error

~/Downloads/ffsync/FreeFileSync/Source $ make

mkdir -p /tmp/FreeFileSync_armv7l_Make/ffs/src/base/
g++ -std=c++17 -pipe -DWXINTL_NO_GETTEXT_MACRO -DLIBSSH2_OPENSSL -I../.. -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/algorithm.cpp.o
/bin/sh: 1: wx-config: not found
In file included from ../../zen/string_tools.h:18:0,
from ../../zen/i18n.h:13,
from <command-line>:0:
../../zen/stl_tools.h:16:20: fatal error: optional: Aucun fichier ou dossier de ce type

^
compilation terminated.
Makefile:127 : la recette pour la cible « /tmp/FreeFileSync_armv7l_Make/ffs/src/base/algorithm.cpp.o » a échouée
make: *** [/tmp/FreeFileSync_armv7l_Make/ffs/src/base/algorithm.cpp.o] Erreur 1

Gustutu
Posts: 4
Joined: 15 Mar 2019

Post by Gustutu • 15 Mar 2019, 12:34

could you help please :)