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
All:
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[2]: Entering directory
`/mnt/disk2/home2/nhodge/development/nomad/gnoii2/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include
-DG_LOG_DOMAIN=\"gnoii2\" -DGNOMELOCALEDIR=\""/usr/local/share/locale"\"
-I../intl -I../intl -Wall -ansi -D_GNU_SOURCE -O -g -c main.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
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[2]: *** [main.o] Error 1
make[2]: Leaving directory
`/mnt/disk2/home2/nhodge/development/nomad/gnoii2/src'
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.
Neil
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]