delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4946DADF.7020202@sbcglobal.net> |
Date: | Mon, 15 Dec 2008 22:31:59 +0000 |
From: | Greg Chicares <gchicares AT sbcglobal DOT net> |
User-Agent: | Thunderbird 2.0.0.18 (Windows/20081105) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: GTK+ externals are unresolved |
References: | <loom DOT 20081215T211641-645 AT post DOT gmane DOT org> |
In-Reply-To: | <loom.20081215T211641-645@post.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |