error appear with last harbour

error appear with last harbour

Postby Patrick Chalvet » Tue Mar 04, 2014 7: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)
Patrick Chalvet
 
Posts: 15
Joined: Tue Dec 13, 2005 6:27 am

Re: error appear with last harbour

Postby Richard Chidiak » Wed Mar 05, 2014 7: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: error appear with last harbour

Postby Patrick Chalvet » Wed Mar 05, 2014 9:08 am

Dear Richard,
Yes I have had png.lib to the rmake file
Patrick
Patrick Chalvet
 
Posts: 15
Joined: Tue Dec 13, 2005 6:27 am

Re: error appear with last harbour

Postby cnavarro » Wed Mar 05, 2014 9: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
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: error appear with last harbour

Postby rhlawek » Thu Mar 06, 2014 8: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)
User avatar
rhlawek
 
Posts: 194
Joined: Sun Jul 22, 2012 7:01 pm

Re: error appear with last harbour

Postby carlos vargas » Tue Mar 11, 2014 3: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)
User avatar
carlos vargas
 
Posts: 1717
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 16 guests