probleme compil avec Dev C++
Bonjour,
Je suis novice en C, d'habitude je prog en Java, mais je suis un fan de Gimp et j'essaie de compiler une source C (un plug-in de Gimp). Il y a des tonnes de librairies a indiquer au compilateur, mais bon, je crois avoir tout.
Et voila ce que le compilateur m'indique, je crois (mais je ne suis vraiment pas du tout familier du C) : une variable n'est pas déclaré. Pourtant l'auteur de la source la donne pour bonne, et d'ailleurs le plug-in tourne sous linux (j'essaie de compiler pour win32). Est-ce que quelqu'un pourrait me donner un coup de pouce siouplait ? hein siouplait !
Voila ce que me donne le log du compilateur :
Citation:
Compilateur: Default compiler
Building Makefile: "C:\Documents and Settings\michel\Bureau\Makefile.win"
Exécution de make...
make.exe -f "C:\Documents and Settings\michel\Bureau\Makefile.win" all
gcc.exe -c fourier-compose-1.2/fourier-compose.c -o fourier-compose-1.2/fourier-compose.o -I"C:/Dev-Cpp/include" -I"C:/Documents and Settings/michel/Bureau/fftw-3.1.2/api" -I"C:/Documents and Settings/michel/Bureau/gtk+-dev-2.12.1/include/gtk-2.0" -I"C:/Documents and Settings/michel/Bureau/pango-dev-1.18.3/include/pango-1.0" -I"C:/Documents and Settings/michel/Bureau/cairo-dev-1.4.10/include/cairo" -I"C:/Documents and Settings/michel/Bureau/glib-dev-2.14.4/include/glib-2.0" -I"C:/Documents and Settings/michel/Bureau/glib-dev-2.14.4/lib/glib-2.0/include" -I"C:/Documents and Settings/michel/Bureau/gtk+-dev-2.12.1/lib/gtk-2.0/include" -I"C:/Documents and Settings/michel/Bureau/atk-dev-1.20.0/include/atk-1.0" -I"C:/Documents and Settings/michel/Bureau/gimp-2.4.0-rc3" -I"C:/Documents and Settings/michel/Bureau/gettext-dev-0.14.5/include"
In file included from fourier-compose-1.2/fourier-compose.c:45:
fourier-compose-1.2/libgimp/stdplugins-intl.h:41:1: warning: "bind_textdomain_codeset" redefined
In file included from fourier-compose-1.2/libgimp/stdplugins-intl.h:29,
from fourier-compose-1.2/fourier-compose.c:45:
C:/Documents and Settings/michel/Bureau/gettext-dev-0.14.5/include/libintl.h:273:1: warning: this is the location of the previous definition
fourier-compose-1.2/fourier-compose.c: In function `run':
fourier-compose-1.2/fourier-compose.c:245: error: `LOCALEDIR' undeclared (first use in this function)
fourier-compose-1.2/fourier-compose.c:245: error: (Each undeclared identifier is reported only once
fourier-compose-1.2/fourier-compose.c:245: error: for each function it appears in.)
make.exe: *** [fourier-compose-1.2/fourier-compose.o] Error 1
Exécution terminée