FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour error appear with last harbour
Posts: 15
Joined: Tue Dec 13, 2005 06:27 AM
error appear with last harbour
Posted: Tue Mar 04, 2014 07:56 PM

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)

Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: error appear with last harbour
Posted: Wed Mar 05, 2014 07:13 AM

Patrick

Did you add png.lib to you rmake file ?

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 15
Joined: Tue Dec 13, 2005 06:27 AM
Re: error appear with last harbour
Posted: Wed Mar 05, 2014 09:08 AM

Dear Richard,
Yes I have had png.lib to the rmake file
Patrick

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: error appear with last harbour
Posted: Wed Mar 05, 2014 09:12 AM

And hbzlib.lib ?

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 195
Joined: Sun Jul 22, 2012 07:01 PM
Re: error appear with last harbour
Posted: Thu Mar 06, 2014 08:08 AM

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)

Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: error appear with last harbour
Posted: Tue Mar 11, 2014 03:11 PM

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)

Continue the discussion