(gtk-list) compiling problem



Hello everybody,
 
I just installed gtk+2.2.2, and libraries including glib2.0, pango1.0 and atk1.0.
 
I just added #include <gtk/gtk.h> in my .c file and made some changes to makefile, (please find my makefile as attached) The problem comes out when I was trying to compile the program. It gives errors like:
 
gcc -g -c -I../include -Dhuge=-DLIT_ENDIAN -DINT=short -Di386 -static -DLINUX -DNDEBUG display.c
gcc -g -c -I../include -Dhuge=-DLIT_ENDIAN -DINT=short -Di386 -static -DLINUX -DNDEBUG imgred..c
gcc -static -g -w -L /usr/X11R6/lib -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -o display display.o imgred.o 'pkg-config gtk+-2.0 --libs' ..lib/util.a ../lib/libcasi.a -lX11 -ldl -lm -lpthread
/usr/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status
make: ***[display] Error 1
 
I need you guys help!
 
Thanks in advance.
 
Jane
 
 

Attachment: makefile
Description: Binary data



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