compile gtk static

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

 



I use to compile: gcc file.c -o file `pkg-config --cflags --libs gtk+-2.0`

But, I need to execute in another computer that don't have the gtk+ 2.0, so I try

to compile static using: gcc file.c -o file -static `pkg-config --cflags --libs gtk+-2.0`

and I have the error:
/usr/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status

What I have to do to complite the program with all libraries static ?

Thanks for the Help - ViNiCiUs

_______________________________________________

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