Compiling gnome.org tutorial applets

Compiling gnome.org tutorial applets

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



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

 
 
 

Compiling gnome.org tutorial applets

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



> blablabla

HI!!

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

jos

 
 
 

1. Linux.org, gnome.org and linux.com

I heard that Lnux is more stable, but I pay constant visit (every day) to
these 3 sites, www.linux.com, www.linux.org and www.gnome.org and the
gnotices in the www.gnome.org 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 www.microsoft.com 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. GNOME.org needs to get their act together...

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

5. IBM has released SashXB on Gnome.org

6. parameter list too long

7. IBM releases SashXB on Gnome.org

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