Page 1 of 1

error appear with last harbour

PostPosted: Tue Mar 04, 2014 7:56 pm
by Patrick Chalvet
Dear Antonio,
I get this error with last harbour
FiveHC32.lib(FWPNG.obj) : error LNK2019: symbole externe non résolu _png_init_io référencé dans la fonction _save_png_to_file
regards
Patrick
Harbour Build Info
---------------------------
Version: Harbour 3.2.0dev (r1403040330)
Compiler: Microsoft Visual C++ 16.0.40219 (32-bit)
Platform: Windows 8 6.2.9200
PCode version: 0.3
ChangeLog last entry: 2014-03-04 04:30 UTC+0100 Przemyslaw Czer
czta.onet.pl)
ChangeLog ID: 12a2ef2ca10f2e1ab9222a3326a62da4129671d4
Built on: Mar 4 2014 16:50:51
Build options: (C++ mode) (Clipper 5.3b) (Clipper 5.x undoc)

Re: error appear with last harbour

PostPosted: Wed Mar 05, 2014 7:13 am
by Richard Chidiak
Patrick

Did you add png.lib to you rmake file ?

Richard

Re: error appear with last harbour

PostPosted: Wed Mar 05, 2014 9:08 am
by Patrick Chalvet
Dear Richard,
Yes I have had png.lib to the rmake file
Patrick

Re: error appear with last harbour

PostPosted: Wed Mar 05, 2014 9:12 am
by cnavarro
And hbzlib.lib ?

Re: error appear with last harbour

PostPosted: Thu Mar 06, 2014 8:08 am
by rhlawek
This png lib issue appeared after the following change. I assume the error is related to the warning. I worked around it a couple ways. First, I had a png.lib I happened to have build on 1/20 before this change. I have since just edited the png Makefile referenced here and backed out this particular change and rebuilt. I haven't seen any negative effects of this, but I don't actually use png either.

Robb

2014-01-24 12:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/3rd/png/*
* src/3rd/png/Makefile
* src/3rd/png/pnglconf.h
* src/3rd/png/png.dif
* updated libpng 1.6.1 -> 1.6.8
; modifications below taken from Viktor branch
Warning: some of them may cause problems with 3-rd party
code which needs fully functional libpng.
* disabled PNG_CONSOLE_IO_SUPPORTED build option.
(MSVS 2013 doesn't support 'stderr' constant)
* disabled STDIO dependent parts for all platforms
* disabled PNG_CONVERT_tIME_SUPPORTED to avoid using
unsafe RTL calls (as shown by msvc)

Re: error appear with last harbour

PostPosted: Tue Mar 11, 2014 3:11 pm
by carlos vargas
please seach in the forum a post reporting this problem,
antonio put a file png.lib to replace the png.lib of harbour

salu2
carlos vargas