[gtk-list] help getting started



hi.

i am trying to get gtk+ version 1.1.15 .rpm's to let me compile on
RedHat 5.2

i have installed glib, glib-devel, glib10, gtk+, gtk+-devel, and gtk+10
but when i compile with gcc -Wall -g example1.c -o example1 `gtk-config
--cflags` \ `gtk-config --libs` i get an error message saying:

gcc: -L/usr/lib - file not found 

(that is not verbatim, i am not on my machine right now ;-(, it is
pretty darn close though)

can any one help with this? the program i am compiling is about as
simple as they get:

#include <gtk/gtk.h>

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;
}

thanks ;-)

arik devens
cael - caelur@innocent.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]