Re: Compiling GTK Test

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

 



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 _______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux