Results 1 to 1 of 1
Thread: static compilation in gtk
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Feb 2007
static compilation in gtk
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
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 ?