On Tue, 2003-01-28 at 15:43, Joaquin Henriquez Alzola (REE) wrote:
> I still get the same error. I don't know how to fix it now because I
>
>
> # gcc `pkg-config --cflags --libs gtk+` hello.c -o hello
> ld: fatal: library -lgmodule: not found
> ld: fatal: library -lglib: not found
> ld: fatal:
how in the above statement. Apart from that I just uninstall the glib-2.2 with
a "make uninstall".
BR,
Joaquin
-Original Message-
From: Michal 'Gleba' Ziemski
To: Joaquin Henriquez Alzola (REE); [EMAIL PROTECTED]
Sent: 1/28/03 6:50 PM
Subject: Re: Compoilation error
Your
Hi,
Chris Nystrom <[EMAIL PROTECTED]> writes:
> It looks like you have more than one version on your
> system. gtk-config is reporting glib-1.2 and yet your find is
> reporting glib-2.2.0.
gtk-config will always report a glib-1.2, never a 2.x version.
> Perhaps you are using the wrong version o
On Tue, 28 Jan 2003, Michal 'Gleba' Ziemski wrote:
> Your linker is not able to find the requirded GTK libs.
>
> Run gtk-config --libs --cflags and check if the paths are correct
> (I belive gtk-config is a wrapper to pkg-config for GTK??)
> If not you'll have to edit your .pc files (most probabl
On Tue, 28 Jan 2003, Joaquin Henriquez Alzola (REE) wrote:
> I have this for:
> # gtk-config --libs --cflags
> -I/opt/sfw/include/gtk-1.2 -I/opt/sfw/include/glib-1.2 -I/opt/sfw/lib/glib/include
>-I/usr/openwin/include
> -L/opt/sfw/lib -L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk -lgmodule -l
/includes.
Good luck!
Michal "Gleba" Ziemski
- Original Message -
From: "Joaquin Henriquez Alzola (REE)"
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 6:59 PM
Subject: RE: Compoilation error
> Hi Michal,
>
> Thanks for the
2.0
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include
#
If I modify this pc files They will be the fixed??
BR,
Joaquin
-Original Message-
From: Michal 'Gleba' Ziemski
To: Joaquin Henriquez Alzola (REE); [EMAIL PROTECTED]
Sent: 1/28/03 6:50 PM
Subject: Re: Comp
enriquez Alzola (REE)"
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 6:22 PM
Subject: Compoilation error
> Hi people,
>
> I have a compilation error when I try to compile this program.
>
> # more gtk2.c
> #include
Hi people,
I have a compilation error when I try to compile this program.
# more gtk2.c
#include
void hello( GtkWidget *widget, gpointer data )
{
g_print ("Hello World\n");
}
gint delete_event( GtkWidget *widget, GdkEvent *event, gpointer data )
{
g_print ("delete event occurred\
Hi people,
I have a compilation error when I try to compile this program.
# more gtk2.c
#include
void hello( GtkWidget *widget, gpointer data )
{
g_print ("Hello World\n");
}
gint delete_event( GtkWidget *widget, GdkEvent *event, gpointer data
)
{
g_print ("delete event occurred
10 matches
Mail list logo