X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 	tests=AWL,BAYES_00,HELLO_DEAR,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <499C42B2.1080907@gmail.com>
Date: Wed, 18 Feb 2009 17:17:38 +0000
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: libpng headaches!
References: <499C3D5F.6070704@terrorpunksyndicate.org> <499C3D82.5000102@cygwin.com>
In-Reply-To: <499C3D82.5000102@cygwin.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Larry Hall (Cygwin) wrote:
> David Karlgren wrote:
>> Hello dear Cygwin users, I hope I'm posting this to the right list. If
>> not, then I sincerely apologize!
>>
>> I'm programming a game using SDL and I compile with gcc under Cygwin
>> and link with the mingw libraries. 
> 
> So you're really using MinGW then.  The MinGW list would be the appropriate
> place to look for help with this problem.
> 

  And the problem is presumably caused by trying to use the Cygwin version of
libpng-devel, which will have references to functions supplied by the Cygwin
DLL, when linking against MinGW runtime libs, which don't supply the same set
of functions.

  The problem with "-lz" could probably be fixed by using the mingw-zlib
package, but David will need to find a proper MinGW build of libpng (or roll
his own).

    cheers,
      DaveK


--
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/

