First off, I'm kind of curious as to what other people use... gtk+? xlib?

any suggestions? before I get too deep into one?

Secondly, I was first trying to make some sample code compile using Xlib, I got it to compile, but I was getting link errors...

So I tried to get some sample code working that used gtk+, I got it to compile finally, but I'm still getting similar link errors.....


Such as:
/tmp/ccIGk5Yw.o: In function `create_bbox':
/tmp/ccIGk5Yw.o(.text+0xd): undefined reference to `gtk_frame_new'
/tmp/ccIGk5Yw.o(.text+0x20): undefined reference to `gtk_hbutton_box_new'
/tmp/ccIGk5Yw.o(.text+0x2d): undefined reference to `gtk_vbutton_box_new'
/tmp/ccIGk5Yw.o(.text+0x42): undefined reference to `gtk_container_get_type'
/tmp/ccIGk5Yw.o(.text+0x50): undefined reference to `gtk_type_check_object_cast'
/tmp/ccIGk5Yw.o(.text+0x5b): undefined reference to `gtk_container_set_border_width'
/tmp/ccIGk5Yw.o(.text+0x6f): undefined reference to `gtk_container_get_type'
/tmp/ccIGk5Yw.o(.text+0x7d): undefined reference to `gtk_type_check_object_cast'
/tmp/ccIGk5Yw.o(.text+0x88): undefined reference to `gtk_container_add'
/tmp/ccIGk5Yw.o(.text+0x9c): undefined reference to `gtk_button_box_get_type'
/tmp/ccIGk5Yw.o(.text+0xaa): undefined reference to `gtk_type_check_object_cast'
/tmp/ccIGk5Yw.o(.text+0xb5): undefined reference to `gtk_button_box_set_layout'

These are only a few, but they are all similar to this, even the Xlib ones..... I don't know what this is telling me, can someone explain it? and give me some hints as to how I can fix the problem? I'm just trying to get SOMETHING that brings up a window so that I can learn and play with it from there....

Thanks much,
(: Ian