pyter
November 7th, 2006, 05:02 PM
after building a project with glade-2, when i do make i got the following error:
main.c:10:19: error: gnome.h: No such file or directory
well actually it wasn't just that... this i what i got:
psemeano@psemeano-laptop:~/fct/rit1/trab2/gui_t2$ make
make all-recursive
make[1]: Entering directory `/home/psemeano/fct/rit1/trab2/gui_t2'
Making all in src
make[2]: Entering directory `/home/psemeano/fct/rit1/trab2/gui_t2/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
main.c:10:19: error: gnome.h: No such file or directory
In file included from main.c:13:
interface.h:5: error: syntax error before ‘*’ token
interface.h:5: warning: data definition has no type or storage class
main.c: In function ‘main’:
main.c:32: error: ‘LIBGNOMEUI_MODULE’ undeclared (first use in this function)
main.c:32: error: (Each undeclared identifier is reported only once
main.c:32: error: for each function it appears in.)
main.c:34: error: ‘GNOME_PARAM_APP_DATADIR’ undeclared (first use in this function)
main.c:42: warning: assignment from incompatible pointer type
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/psemeano/fct/rit1/trab2/gui_t2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/psemeano/fct/rit1/trab2/gui_t2'
make: *** [all] Error 2
can someone help me please?
thanks in advance.
main.c:10:19: error: gnome.h: No such file or directory
well actually it wasn't just that... this i what i got:
psemeano@psemeano-laptop:~/fct/rit1/trab2/gui_t2$ make
make all-recursive
make[1]: Entering directory `/home/psemeano/fct/rit1/trab2/gui_t2'
Making all in src
make[2]: Entering directory `/home/psemeano/fct/rit1/trab2/gui_t2/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
main.c:10:19: error: gnome.h: No such file or directory
In file included from main.c:13:
interface.h:5: error: syntax error before ‘*’ token
interface.h:5: warning: data definition has no type or storage class
main.c: In function ‘main’:
main.c:32: error: ‘LIBGNOMEUI_MODULE’ undeclared (first use in this function)
main.c:32: error: (Each undeclared identifier is reported only once
main.c:32: error: for each function it appears in.)
main.c:34: error: ‘GNOME_PARAM_APP_DATADIR’ undeclared (first use in this function)
main.c:42: warning: assignment from incompatible pointer type
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/psemeano/fct/rit1/trab2/gui_t2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/psemeano/fct/rit1/trab2/gui_t2'
make: *** [all] Error 2
can someone help me please?
thanks in advance.