This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: GTK+ externals are unresolved
- From: Greg Chicares <gchicares at sbcglobal dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 15 Dec 2008 22:31:59 +0000
- Subject: Re: GTK+ externals are unresolved
- References: <loom.20081215T211641-645@post.gmane.org>
On 2008-12-15 21:19Z, M.O.D. wrote:
> When I compile a GTK+ application in Cygwin, all the GTK externals are
> unresolved.
>
> $ cc `pkg-config --cflags --libs gtk+-2.0` murg.c -o murg
Does it work if you move the libraries after the source files?
Something like this:
$ cc `pkg-config --cflags gtk+-2.0` murg.c `pkg-config --libs gtk+-2.0` -o murg
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/