Re: compile gtk with libcurl
- From: David NeÄas <yeti physics muni cz>
- To: Rudra Banerjee <bnrj rudra yahoo com>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: compile gtk with libcurl
- Date: Thu, 24 May 2012 19:19:51 +0200
On Thu, May 24, 2012 at 10:37:01PM +0530, Rudra Banerjee wrote:
$ gcc curlgtk.c -o cpan `pkg-config --cflags gtk+-2.0` `pkg-config
--libs libcurl gtk+-2.0`
/usr/bin/ld: /tmp/ccZN7P8Q.o: undefined reference to symbol
'g_thread_init'
If you use gthread you must link with it. Simple. Use
pkg-config --cflags --libs gtk+-2.0 gthread-2.0 libcurl
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]