Compiling tutorial applets

Compiling tutorial applets

Post by jos » Sat, 29 Sep 2001 18:45:36


I'm trying to compile the example applet from in the tutorial, the one in example 2:

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



Compiling tutorial applets

Post by jos » Mon, 01 Oct 2001 00:23:31

> blablabla


I contacted the author on this, and he said the
code fragments are not complete applets, but they
are to be used in a larger application.

best regards



1., and

I heard that Lnux is more stable, but I pay constant visit (every day) to
these 3 sites,, and and the
gnotices in the site, what I get is that these web site
frequently run out of order, time are I can't access this sites very often,
when compared t that only out of service for a very rare
basis, I wonder what's wrong with these Linux hosted sites, problem with
bandwidth? I don't know.....

2. millisecond timer

3. needs to get their act together...

4. Remove HotJava and file manager from startup???

5. IBM has released SashXB on

6. parameter list too long

7. IBM releases SashXB on

8. X11R4 xdm (with XDMCP)

9. GNOME applet problem

10. Is there a Gnome applet for V.92 modem?

11. gnome panel loses applets

12. GNOME ppp applet solution

13. gnome pager applet in RHL 7.2