compile gtk static
- From: ViNiCiUs <vlpg terra com br>
 
- To: gtk-list <gtk-list gnome org>
 
- Subject: compile gtk static
 
- Date: Thu, 22 Apr 2004 08:46:51 -0300
 
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
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]