Libharu RELEASE 2.3.0 - zlib and libpng different versions

574 views
Skip to first unread message

Facundo

unread,
Oct 5, 2015, 9:16:32 PM10/5/15
to libHaru
Hi!

I need to compile libharu-RELEASE_2_3_0 (Oct 30, 2013 ), but first I need to know which zlib and libpng versions work better with this haru pdf version.
Any ideas?

Courrent releases are:
Zlib 1.2.8 April 28, 2013
Libpng 1.6.18 - July 23, 2015

Thanks!

Termi3

unread,
Oct 13, 2015, 5:23:16 AM10/13/15
to libHaru
It should work - I have taken as well the current releases

Facundo

unread,
Oct 13, 2015, 1:59:16 PM10/13/15
to libHaru
Termi3, when I use the last zlib and libpng versions Haru compiles ok, but it has several problems (I'm using Borland c++ 5.5.1 compiler):

libharu 2.3.0 - Zlib 1.2.8 - Libpng 1.6.18:
#Haru compiles ok, but it doesn't generate all the PDF demos;
#png_demo.c: Generates a PDF, but there is a problem with 16 bit images. Adobe reader says "Insufficient data for an image" and doesn't display images after the first 16 bit png image (basn2c16.png);
#jpfont_demo.c: It doesn't compiles, says there is no xxxx font (the font is in my PC);
#When I try to generate a PDF with an png image HPDF_LoadPngImageFromFile returns an error: HPDF_LIBPNG_ERROR 0x1043 An error has returned from PNGLIB while loading an image.

libharu 2.3.0 - Zlib 1.2.8 - Libpng 1.5.23:
#Haru compiles ok, but it doesn't generate all the PDF demos;
#png_demo.c: Generates a PDF, but there is a problem with 16 bit images. Adobe reader says "Insufficient data for an image" and doesn't display images after the first 16 bit png image (basn2c16.png);
#jpfont_demo.c: It doesn't compile, says there is no xxxx font (the font is in my PC);

libharu 2.0.8 - Zlib 1.2.8 - Libpng 1.5.23:
#Haru compiles ok and generates all the PDF files.
#png_demo.c generates the PDF ok;
#jpfont_demo.c generates the PDF ok (the font is in my PC)

Could it be a compiler error? What do you think?

Yordan Kyosev

unread,
Oct 13, 2015, 2:50:51 PM10/13/15
to lib...@googlegroups.com
Borland 5.5.1 is more than 10 year old compiler, isn't it ???

I compiled on Win8.1 64 bit with MS Visual Studio community edition 2013 and had no problem with the libraries.
I had problem to compile some of the examples, but it can be because I probably selected the wrong setting for static/shared lib.
Try another compiler... 
--
--
---
libHaru.org development mailing list
To unsubscribe, send email to libharu-u...@googlegroups.com
---
You received this message because you are subscribed to a topic in the Google Groups "libHaru" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/libharu/jH4EuEIFBLM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to libharu+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Klaus Hentschel

unread,
Dec 7, 2016, 11:03:33 AM12/7/16
to libHaru
could you post a compiled win32 DLL or tell me where i can find one of them?
Reply all
Reply to author
Forward
0 new messages