Error during compilation, missing file

Get help for specific problems
Posts: 2
Joined: 27 Apr 2014

vic2gre

Hi,
I try to compile and install FreeFileSync 6.4 on fredora 20 64b and I have a problem.
I installed the last version of wxWidgets (3.0).

When I compile I have this error (sorry, in french) :
mkdir -p ../Obj/FFS_GCC_Make_Release/ffs/src/
g++ -pthread -std=c++11 -Wall -pipe -O3 -DNDEBUG -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -DZEN_LINUX `pkg-config --cflags gtk+-2.0` -I/home/victorien/Desktop/boost `/home/victorien/Desktop/wxWidgets/lib/release/bin/wx-config --cxxflags      --debug=no --static=yes` -c algorithm.cpp -o ../Obj/FFS_GCC_Make_Release/ffs/src/algorithm.o
/bin/sh: /home/victorien/Desktop/wxWidgets/lib/release/bin/wx-config: Aucun fichier ou dossier de ce type
In file included from algorithm.cpp:15:0:
../../wx+/image_resources.h:10:23: erreur fatale: wx/bitmap.h : Aucun fichier ou dossier de ce type
 #include <wx/bitmap.h>
                       ^
compilation terminée.
make: *** [../Obj/FFS_GCC_Make_Release/ffs/src/algorithm.o] Erreur 1
I think it miss a link or somethink like that but I don't find. Is there someone who know this problem ?
Posts: 3
Joined: 26 Apr 2014

mbcullen

For this include
#include <wx/bitmap.h>
to work, you need to specify an include path to the containing folder,
in this case <your wxWidgets>/include.
Try -I<your wxWidgets>/include
Posts: 2
Joined: 27 Apr 2014

vic2gre

ok,
and how I do that ?modify the makefile ? spécific make command ? add somthing to PATH ?

Sorry for this question, I'm beginner in compilation
Posts: 3
Joined: 26 Apr 2014

mbcullen

We both need help from the author, zenju.
I am trying to compile version 6.4 on Windows.
The source code is the same for Windows and Linux.
If you get past the problem cited above you will probably
run into the same problems I have with missing files
and folders (which were in version 6.1, but not 6.2, 6.3, 6.4).