you might want to check the tutorial linked at gtk.org.. also,
http://computers.iwz.com/e-zine/gtk.html (I Think that's it) for a basic
overview/editorial on GTK+ by PHT's head developer for TurboLinux.. he
made a small app launcher for it that's used in TL 3.0.1, source
avfailable of course.. have fun

On Thu, 11 Mar 1999, tom carlile wrote:

> hey all,
> i need some help from some GTK+/GLIB programmers out there.
> i'm making my way through "Developing Linux Applications using
> GTK+ and GLIB" and decided to stop for a moment and try an
> example.  I'm on the verge of concluding that the examples
> in this book are worthless, as I've already found some typos
> and misspellings in them.  But, nonetheless, I think this
> code should work but it's barking back the the errors below:
> if anyone out there could help i'd really appreciate it, i
> really don't want to move on in the book until i can at
> least do the things i am try to here.
> 
> see the code here:
>       http://sacrilege.org/misc/glib.c
> 
> 
> ~/gtk >> gcc -o glib `gtk-config --cflags` glib.c
> glib.c: In function `main':
> glib.c:32: warning: passing arg 1 of `g_hash_table_new' from incompatible pointer 
>type
> glib.c:32: warning: passing arg 2 of `g_hash_table_new' from incompatible pointer 
>type
> /tmp/cca085911.o: In function `PrintNames':
> /tmp/cca085911.o(.text+0xa9): undefined reference to `g_print'
> /tmp/cca085911.o: In function `main':
> /tmp/cca085911.o(.text+0xc5): undefined reference to `g_hash_table_new'
> /tmp/cca085911.o(.text+0xe0): undefined reference to `g_hash_table_insert'
> /tmp/cca085911.o(.text+0xf1): undefined reference to `g_hash_table_lookup'
> 
> 
> 
> 
> -- 
> Tom Carlile                   [EMAIL PROTECTED]
> 
> "So here's a picture of reality: (picture of circle with lots of sqiggles in 
> it) As we all know, reality is a mess."
> 
>   -- Larry Wall
> ---------------------------------------------------------------------------
> Send administrative requests to [EMAIL PROTECTED]
> 

|--------------------------------------------------
|Justin Ryan
|Developer Relations / Support Associate
|Pacific HiTech / TurboLinux
|http://www.turbolinux.com / [EMAIL PROTECTED]
|WebMaster, PCHelp - http://computers.iwz.com
|[EMAIL PROTECTED]
|--------------------------------------------------

---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to