Page 1 of 1

Error FWH 1503 y Harbour 3.4 ...png...SOLUCIONADO

PostPosted: Mon Mar 23, 2015 1:06 pm
by D.Fernandez
Estimados: Me da error con la version 1503 y Harbour 3.4

Unresolved external '_png_init_io' referenced from C:\FWH1503\Lib\FiveHC.lib|FWPNG
Tengo png.lib incluida en el proyecto...
Gracias

Saludos
Ruben Dario Fernandez.

Re: Error FWH 1503 y Harbour 3.4 ...png...

PostPosted: Mon Mar 23, 2015 2:03 pm
by nageswaragunupudi
Are you directly using any functions from FWPNG.PRG in your application?

If not, there is no need to link png.lib from 15.02 onwards.

Re: Error FWH 1503 y Harbour 3.4 ...png...

PostPosted: Mon Mar 23, 2015 2:12 pm
by D.Fernandez
Hi, I'm not using any FWPNG function, but If I take png.lib off I get more unresolved external

regards

Ruben Dario Fernandez.

Re: Error FWH 1503 y Harbour 3.4 ...png...

PostPosted: Mon Mar 23, 2015 2:39 pm
by D.Fernandez
Con Harbour 3.2 no da problemas.

Saludos

Ruben Fernandez

Re: Error FWH 1503 y Harbour 3.4 ...png...

PostPosted: Mon Mar 23, 2015 2:59 pm
by Antonio Linares
Ruben,

Que unresolved externals te aparecen ?

Re: Error FWH 1503 y Harbour 3.4 ...png...

PostPosted: Mon Mar 23, 2015 4:55 pm
by D.Fernandez
Antonio:

FWH 1503 y Harbour 3.4 incluyendo png.lib

Solo me da 1 error ...> Unresolved external '_png_INIT_io' referenced from C:\FWH1503\Lib\FiveHC.lib|FWPNG

Sin png.lib
El error de arriba mas
set_read_fr, read_info, get_Valid, set_tRNS_to_Alpha, set_gray_to_rgb y mas, todos con e; prefijo _png_, de FWHC.lib ..>FWPNG

Gracias Antonio.

Saludos

Ruben Dario Fernandez :(

Re: Error FWH 1503 y Harbour 3.4 ...png...

PostPosted: Mon Mar 23, 2015 5:04 pm
by D.Fernandez
Antonio: si coloco png.lib y png_.lib de Harbour 3.2 funciona ok. o por lo menos mo da error.No se si tiene problemas en el funcionamiento
general del programa.

Gracias y saludos.

Ruben Dario Fernandez

Re: Error FWH 1503 y Harbour 3.4 ...png...

PostPosted: Mon Mar 23, 2015 5:26 pm
by MOISES
Hola,

Yo acabo de bajar la última build de Harbour de febrero de 2014 y también me salta ese error. Ni enlazando png.lib, ni hbzlib.lib desaparece.

Re: Error FWH 1503 y Harbour 3.4 ...png...

PostPosted: Mon Mar 23, 2015 5:43 pm
by Antonio Linares
Moises, Ruben,

Teneis que enlazar esta versión de png.lib:

https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads/png.lib

Re: Error FWH 1503 y Harbour 3.4 SOLUCIONADO

PostPosted: Mon Mar 23, 2015 6:14 pm
by D.Fernandez
Antonio: Solucionado, Gracias.

Saludos

Ruben Dario Fernandez

Re: Error FWH 1503 y Harbour 3.4 ...png...SOLUCIONADO

PostPosted: Mon Mar 23, 2015 6:31 pm
by nageswaragunupudi
Mr Antonio

There is no call to any function in FWPNG module in the entire FWH libraray
Then why is the FWPNG is linked requiring png.lib?

I am using both Harbour (3.2) and xHarbour without png.lib for all development work.
Why should there be any difference with Harbour 3.4?

Re: Error FWH 1503 y Harbour 3.4 ...png...SOLUCIONADO

PostPosted: Mon Mar 23, 2015 6:58 pm
by Antonio Linares
Maybe he is using a third party lib or has some code that requires it

Re: Error FWH 1503 y Harbour 3.4 ...png...SOLUCIONADO

PostPosted: Tue Mar 24, 2015 1:38 pm
by D.Fernandez
Antonio, Rao:

Estaba usando una clase modificada de tRbutton, porque los uso como botones normales de la aplicación,
ahora ya no, estoy usando la nueva. Lo unico que cambio en la clase es la linea 1097 que coloco
el If de forma inversa. if !::lTransparent .and. ::hBack == NIL, para que de esta manera me aparezcan los
botones bien pintados, de lo contrario aparecen transparentes.

Muchas gracias

saludos

Ruben Dario Fernandez.