error appear with last harbour

Post Reply
Patrick Chalvet
Posts: 15
Joined: Tue Dec 13, 2005 6:27 am

error appear with last harbour

Post 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)
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: error appear with last harbour

Post by Richard Chidiak »

Patrick

Did you add png.lib to you rmake file ?

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Patrick Chalvet
Posts: 15
Joined: Tue Dec 13, 2005 6:27 am

Re: error appear with last harbour

Post by Patrick Chalvet »

Dear Richard,
Yes I have had png.lib to the rmake file
Patrick
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: error appear with last harbour

Post by cnavarro »

And hbzlib.lib ?
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
rhlawek
Posts: 165
Joined: Sun Jul 22, 2012 7:01 pm

Re: error appear with last harbour

Post 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)
User avatar
carlos vargas
Posts: 1421
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: error appear with last harbour

Post 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
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
Post Reply