Re: Problem with compiling my first GTK program
On Fri, Feb 02, 2001 at 06:52:51PM -0500, Francois Fayard wrote: > > [EMAIL PROTECTED]:~/GTK/ESSAI$ gcc base.c -o base `gtk-config --cflags > --libs` > /usr/bin/ld: cannot find -lXi > collect2: ld returned 1 exit status you need xlibs-dev, but that's changed since potato, i think it was xlib6g-dev. search for libXi on packages.debian.org if that isn't it later > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problem with compiling my first GTK program
Hi, I'm trying to write a c program using GTK. I'm very new to C. When I compile the first program from the GTK Tutorial, I have : /* example-start base base.c */ #include int main( int argc, char *argv[] ) { GtkWidget *window; gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_widget_show (window); gtk_main (); return(0); } /* example-end */ [EMAIL PROTECTED]:~/GTK/ESSAI$ gcc base.c -o base `gtk-config --cflags --libs` /usr/bin/ld: cannot find -lXi collect2: ld returned 1 exit status I'm running Potato+Security Updates+Helix Code If someone has any idea. Thanks Francois