Creating a project from scratch
- From: Neil Hodge <neh attbi com>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Creating a project from scratch
- Date: 20 Jan 2003 20:49:43 -0800
I am trying to start a project from scratch, and I can't get (what I
think is) the last step. autogen.sh looks ok, but when I make, all of
the directories seem to make fine, except for the following:
Making all in src
make: Entering directory
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include
-I../intl -I../intl -Wall -ansi -D_GNU_SOURCE -O -g -c main.c
cc1: warning: changing search order for system directory
cc1: warning: as it has already been specified as a non-system
In file included from main.c:2:
gnoii.h:1:21: gtk/gtk.h: No such file or directory
main.c: In function `main':
main.c:6: `GtkWidget' undeclared (first use in this function)
main.c:6: (Each undeclared identifier is reported only once
main.c:6: for each function it appears in.)
main.c:6: `window' undeclared (first use in this function)
main.c:8: warning: implicit declaration of function `gtk_init'
main.c:10: warning: implicit declaration of function `gtk_window_new'
main.c:10: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
main.c:11: warning: implicit declaration of function `gtk_widget_show'
main.c:13: warning: implicit declaration of function `gtk_main'
make: *** [main.o] Error 1
make: Leaving directory
Looking at the gcc command, it looks like the gtk stuff (libs, includes)
are not being seen at all. Any idea how to fix this? Thanks.
] [Thread Prev