Re: Compile line options for a libglade project?
- From: Tony Freeman <tony freeman insightbb com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Compile line options for a libglade project?
- Date: Thu, 27 Jan 2005 18:29:21 -0500
Thanks to the people who have replied so far.
Attached is the glade file and the c file. I've check and rechecked the
glade and c files for syntax errors, etc. I found one typo that I
corrected: I had "int main (int argc, *argv[])" which I changed to "int
main (int argc, **argv)".
My compile line looks like this:
gcc `pkg-config --cflags --libs libglade-2.0 libgnome-2.0
libgnomeui-2.0` main.c -o test
I get this:
main.c: In function `main':
main.c:95: error: `PREFIX' undeclared (first use in this function)
main.c:95: error: (Each undeclared identifier is reported only once
main.c:95: error: for each function it appears in.)
main.c:95: error: `SYSCONFDIR' undeclared (first use in this function)
main.c:95: error: `DATADIR' undeclared (first use in this function)
main.c:95: error: `LIBDIR' undeclared (first use in this function)
main.c:95: error: `GNOME_PARAM_HUMAN_READABLE' undeclared (first use in
this function)
main.c:109: warning: passing arg 4 of `g_signal_connect_data' makes
pointer from integer without a cast
Any help?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]