Default projet doesn't work (wxDialog, using wxCrafter)
Posted: Thu Jun 04, 2015 3:24 pm
Hi, i just started looking into wxWidget, and when i use the wizard to create a default GUI application (wxDialog, using wxCrafter), i get errors that seems to indicate a broken template in the wizard. Is this the case ? If yes is there any working template out there ?
/bin/sh -c '/usr/bin/make -j8 -e -f Makefile'
----------Building project:[ wxHelloWorld - Debug ]----------
make[1]: wx-config: commande introuvable
make[1]: entrant dans le répertoire « /home/chatelain/perso/developpement/project/cppProject/WxTestWorkspace/WxTest/wxHelloWorld »
make[1]: wx-config: commande introuvable
/usr/bin/g++-4.8 -c "/home/chatelain/perso/developpement/project/cppProject/WxTestWorkspace/WxTest/wxHelloWorld/main.cpp" -g -O0 -Wall -o ./Debug/main.cpp.o -I. -I.
/usr/bin/g++-4.8 -c "/home/chatelain/perso/developpement/project/cppProject/WxTestWorkspace/WxTest/wxHelloWorld/wxcrafter.cpp" -g -O0 -Wall -o ./Debug/wxcrafter.cpp.o -I. -I.
wxcrafter_bitmaps.cpp:16:20: error: missing binary operator before token "("
#if wxCHECK_VERSION(2,8,5) && wxABI_VERSION >= 20805
^
make[1]: *** [Debug/wxcrafter_bitmaps.cpp.o.d] Erreur 1
make[1]: *** Attente des tâches non terminées....
In file included from /home/chatelain/perso/developpement/project/cppProject/WxTestWorkspace/WxTest/wxHelloWorld/wxcrafter.cpp:1:0:
/home/chatelain/perso/developpement/project/cppProject/WxTestWorkspace/WxTest/wxHelloWorld/wxcrafter.h:4:25: fatal error: wx/settings.h: Aucun fichier ou dossier de ce type
#include <wx/settings.h>
^
compilation terminated.
/home/chatelain/perso/developpement/project/cppProject/WxTestWorkspace/WxTest/wxHelloWorld/main.cpp:1:20: fatal error: wx/app.h: Aucun fichier ou dossier de ce type
#include <wx/app.h>
^
compilation terminated.
make[1]: *** [Debug/wxcrafter.cpp.o] Erreur 1
make[1]: *** [Debug/main.cpp.o] Erreur 1
make[1]: quittant le répertoire « /home/chatelain/perso/developpement/project/cppProject/WxTestWorkspace/WxTest/wxHelloWorld »
make: *** [All] Erreur 2
3 errors, 1 warnings