Re: Simple glib compilation problem: DSO missing from command line
- From: Lucas Levrel <llevrel yahoo fr>
- To: gtk-app-devel-list gnome org
- Subject: Re: Simple glib compilation problem: DSO missing from command line
- Date: Fri, 27 Mar 2015 11:48:01 +0100 (CET)
Le 27 mars 2015, Bruno Cauet a écrit :
I'm having trouble compiling stuff with glib. Here it is:
$ LANG=C gcc -I /usr/include/glib-2.0 -I /usr/lib/glib-2.0/include -L
/usr/lib -l gio-2.0 segfault.c
Maybe:
$ GTKHDR=$(pkg-config --cflags gtk+-2.0)
$ GTKLIB=$(pkg-config --libs gtk+-2.0)
$ LANG=C gcc $GTKHDR segfault.c $GTKLIB
-l options must come after source files I think.
--
Lucas Levrel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]