HI
I'm trying to compile the example applet from
gnome.org in the tutorial, the one in example 2:
http://developer.gnome.org/doc/tutorials/applet/changes.html
when I try to compile like this:
gcc `gnome-config --cflags applets` ` gnome-config --libs applets` -o
app.o -c app.c
so all libraries etc are included, I still get
some error messages:
app.c: In function `main':
app.c:4: `PACKAGE' undeclared (first use in this function)
app.c:4: (Each undeclared identifier is reported only once
app.c:4: for each function it appears in.)
app.c:4: `VERSION' undeclared (first use in this function)
app.c:6: parse error before `*'
app.c:7: `applet' undeclared (first use in this function)
app.c:7: `controls' undeclared (first use in this function)
The header file applet-widget.h is installed. What
should I do with the PACKAGE and VERSION things and
does anyone know why applet and controls appear to
be undeclared, is the applet incomplete?
best regards
jos