gtk program compilation
- From: Matthew Paterson <matthew paterson0606 fsnet co uk>
- To: gtk-list gnome org
- Subject: gtk program compilation
- Date: Wed, 3 Oct 2001 21:55:27 +0100
Hi
I am trying to compile a very basic gtk program that will display a box.
But whenever i try to compile the program with the following line :
gcc -o base base.c 'gtk-config --cflags --libs'
i get lots of errors. A sample of some of the errors follows :
/usr/include/glib.h:491: parse error before "gssize"
/usr/include/glib.h:492: parse error before "gsize"
/usr/include/glib.h:493: parse error before "GQuark"
/usr/include/glib.h:494: parse error before "GTime"
/usr/include/glib.h:758: parse error before "key_id"
/usr/include/glib.h:829: parse error before "guint8"
/usr/include/glib.h:831: parse error before '}' token
There are a lot more that are too many to list here.
Any ideas on what could be wrong, because i would like to get into gtk
development.
--
Matt
Fear of a flat planet
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]