Re: Compiling GTK Test



Adolfo Eloy wrote:

Hello people!

I have tryed to follow the steps
posted by another mails, but even after
try all things I can't compile my first program
in my Fedora Core 3.


Now, I'm trying to compile using the statement below:
gcc -o base teste_gtk.c `pkg-config --libs gtk+-2.0`

but I receive the follow message:
/usr/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status

But I have the gtk-x11-2.0
like this:
/usr/lib/libgtk-x11-2.0.so.0


I'd like to compile with these difficults
cause I don't wanna re-install the linux
from begin to solve this trouble.


try this...
gcc -o base teste_gtk.c `pkg-config gtk+-2.0 --cflags --libs`

--
Jeffrin [ http://trueangle.org ]

Send instant messages to your online friends http://in.messenger.yahoo.com

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