delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/12/09:58:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 12 Nov 2004 09:57:45 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: libpng issues
Message-ID: <20041112145745.GB26737@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <cn264o$f0d$1 AT sea DOT gmane DOT org> <4194B95F DOT 4080209 AT familiehaase DOT de> <cn2ggh$cjt$2 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <cn2ggh$cjt$2@sea.gmane.org>
User-Agent: Mutt/1.4.1i

On Fri, Nov 12, 2004 at 03:14:41PM +0100, Marco Alanen wrote:
>Gerrit P. Haase wrote:
>> Marco Alanen wrote:
>>
>>> Gerrit P. Haase wrote:
>>>
>>>> Marco Alanen wrote:
>>>>
>>>>> After successfully porting our application from Linux to cygwin,
>>>>> most of the functions work, except for one thing - png images. As
>>>>> soon as I call  png_create_read_struct, the application will
>>>>> imediately hang and start using up all available CPU power. This
>>>>> happens with both libpng10 and libpng12.
>>>>>
>>>>> This is the call we make:
>>>>> png_structp png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING,
>>>>> (png_voidp)0, 0, 0);
>>>>>
>>>>> Anybody who knows anything about it, or knows what more information
>>>>> I should provide?
>>>>
>>>>
>>>>
>>>>
>>>> Simple testcase (compilable snippet), please?
>>>>
>>>> Gerrit
>>>
>>>
>>>
>>> Some simple code:
>>> #include <stdio.h>
>>> #include <png.h>
>>>
>>> int main(int argc, char **argv)
>>> {
>>>         png_structp png_ptr = png_create_read_struct
>>> (PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
>>>
>>>         return 0;
>>> }
>>>
>>> Compiled with:
>>> gcc -o pngtest pngtest.c -mno-cygwin -mwin32 -mwindows -lpng
>>
>>
>> And you have libpng installed?
>>
>> $ ls /usr/lib/mingw/*png*
>> ls: /usr/lib/mingw/*png*: No such file or directory
>>
>> $ ls /usr/lib/w32api/*png*
>> ls: /usr/lib/w32api/*png*: No such file or directory
>>
>> Me not and therefore I cannot test it:
>> $ gcc -o pngtest pngtest.c -mno-cygwin -mwin32 -mwindows -lpng
>> pngtest.c:2:17: png.h: No such file or directory
>> ...
>
>Yes it's installed, otherwise it wouldn't compile nor run :)
>
>> Please contact the distributor of your MinGW libpng since this library
>> is not distributed with Cygwin it is not supported here.
>
>Ok. I just thought that since it's included in the cygwin installer, 
>someone here might have an idea (or previous experiences) about this.

We don't provide mingw versions of libpng.

cgf

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