www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/18/12:08:50

X-Recipient: archive-cygwin AT delorie DOT 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 DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: libpng headaches!
References: <499C3D5F DOT 6070704 AT terrorpunksyndicate DOT org> <499C3D82 DOT 5000102 AT cygwin DOT com>
In-Reply-To: <499C3D82.5000102@cygwin.com>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019