Errors in New Build

Re: Errors in New Build

Postby TimStone » Sun May 05, 2013 9:36 pm

I've tried 4 times but Google keeps rejecting it ... and its a zip
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Errors in New Build

Postby Antonio Linares » Sun May 05, 2013 10:32 pm

Tim,

Please rename zip as zop and gmail will accept it, thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Errors in New Build

Postby David Williams » Wed May 08, 2013 4:11 pm

I installed the latest FWH 13.4 with xHarbour March 27 2013 and I now have a problem with png.lib. I get the following errors:
Error: Unresolved external '_crc32' referenced from D:\XHARBOUR\LIB\PNG.LIB|png
Error: Unresolved external '_inflateReset' referenced from D:\XHARBOUR\LIB\PNG.LIB|png
Error: Unresolved external '_inflateInit_' referenced from D:\XHARBOUR\LIB\PNG.LIB|pngread
Error: Unresolved external '_inflate' referenced from D:\XHARBOUR\LIB\PNG.LIB|pngrutil
Error: Unresolved external '_inflateEnd' referenced from D:\XHARBOUR\LIB\PNG.LIB|pngread
Error: Unresolved external '_deflateEnd' referenced from D:\XHARBOUR\LIB\PNG.LIB|pngwutil
Error: Unresolved external '_deflateInit2_' referenced from D:\XHARBOUR\LIB\PNG.LIB|pngwutil
Error: Unresolved external '_deflateReset' referenced from D:\XHARBOUR\LIB\PNG.LIB|pngwutil
Error: Unresolved external '_deflate' referenced from D:\XHARBOUR\LIB\PNG.LIB|pngwutil

When I downloaded a larger/newer version of png.lib from google, as suggested by Antonio in an earlier post, I now get this:
Error: 'D:\XHARBOUR\LIB\PNG.LIB' contains invalid OMF record, type 0x21 (possibly COFF)

Can someone please tell me what I need or where I can get a valid version of png.lib?

TIA
David
User avatar
David Williams
 
Posts: 82
Joined: Fri Mar 03, 2006 6:26 pm
Location: Ireland

Re: Errors in New Build

Postby Antonio Linares » Wed May 08, 2013 6:43 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Errors in New Build

Postby David Williams » Wed May 08, 2013 10:10 pm

Muchas gracias Antonio,
Perfecto
David :)
User avatar
David Williams
 
Posts: 82
Joined: Fri Mar 03, 2006 6:26 pm
Location: Ireland

Re: Errors in New Build

Postby Horizon » Sat Jun 15, 2013 2:25 pm

Hi Antonio,

I am trying to compile Vs2010_make sample. (one.exe)

I have added png.lib (from my archive library) that is used from xHb commercial. it gives these errors.

Code: Select all  Expand view
png.lib(png.obj) : error LNK2019: unresolved external symbol _inflateReset referenced in function _png_reset_zstream
png.lib(pngrutil.obj) : error LNK2001: unresolved external symbol _inflateReset
png.lib(pngwrite.obj) : error LNK2019: unresolved external symbol _deflate referenced in function _png_write_flush
png.lib(pngwutil.obj) : error LNK2001: unresolved external symbol _deflate
png.lib(pngwrite.obj) : error LNK2019: unresolved external symbol _deflateEnd referenced in function _png_write_destroy
png.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflateInit_ referenced in function _png_create_read_struct_2
png.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflate referenced in function _png_read_row
png.lib(pngrutil.obj) : error LNK2001: unresolved external symbol _inflate
png.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflateEnd referenced in function _png_read_destroy
png.lib(pngwutil.obj) : error LNK2019: unresolved external symbol _deflateInit2_ referenced in function _png_write_IHDR
png.lib(pngwutil.obj) : error LNK2019: unresolved external symbol _deflateReset referenced in function _png_write_compressed_data_out
one.exe : fatal error LNK1120: 9 unresolved externals
 


I have downloaded the png.lib that you have given the link. it gives the this errors.

Code: Select all  Expand view
D:\PRG\LIB_EXTRA\png.lib : fatal error LNK1136: invalid or corrupt file


What should I do for compiling?

Thanks.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Errors in New Build

Postby albeiroval » Sat Jun 15, 2013 3:14 pm

Hi Tim,

Have the make file for msvc 2012 to UEStudio?

Thank you,

Best regards,
Saludos,
Regards,

Albeiro Valencia
www.avcsistemas.com
User avatar
albeiroval
 
Posts: 370
Joined: Tue Oct 16, 2007 5:51 pm
Location: Barquisimeto - Venezuela

Re: Errors in New Build

Postby Horizon » Sun Jun 16, 2013 7:27 pm

Horizon wrote:Hi Antonio,

I am trying to compile Vs2010_make sample. (one.exe)

I have added png.lib (from my archive library) that is used from xHb commercial. it gives these errors.

Code: Select all  Expand view
png.lib(png.obj) : error LNK2019: unresolved external symbol _inflateReset referenced in function _png_reset_zstream
png.lib(pngrutil.obj) : error LNK2001: unresolved external symbol _inflateReset
png.lib(pngwrite.obj) : error LNK2019: unresolved external symbol _deflate referenced in function _png_write_flush
png.lib(pngwutil.obj) : error LNK2001: unresolved external symbol _deflate
png.lib(pngwrite.obj) : error LNK2019: unresolved external symbol _deflateEnd referenced in function _png_write_destroy
png.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflateInit_ referenced in function _png_create_read_struct_2
png.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflate referenced in function _png_read_row
png.lib(pngrutil.obj) : error LNK2001: unresolved external symbol _inflate
png.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflateEnd referenced in function _png_read_destroy
png.lib(pngwutil.obj) : error LNK2019: unresolved external symbol _deflateInit2_ referenced in function _png_write_IHDR
png.lib(pngwutil.obj) : error LNK2019: unresolved external symbol _deflateReset referenced in function _png_write_compressed_data_out
one.exe : fatal error LNK1120: 9 unresolved externals
 


I have downloaded the png.lib that you have given the link. it gives the this errors.

Code: Select all  Expand view
D:\PRG\LIB_EXTRA\png.lib : fatal error LNK1136: invalid or corrupt file


What should I do for compiling?

Thanks.


Any comment?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Errors in New Build

Postby Horizon » Mon Jun 17, 2013 6:15 am

Hi,

I have added hbzlib.lib to make file and it has been RESOLVED.

Thanks
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Errors in New Build

Postby Antonio Linares » Mon Jun 17, 2013 4:07 pm

Hakan,

I missed your previous posts, sorry.

One general comment that I would like to do regarding the unresolved external symbols that appear sometimes when we build our EXEs is that to solve it is as easy as making a search for the function name inside all the LIBs files. I use Total Commander files search feature for this, and in a moment you can locate the missing lib that you need :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Errors in New Build

Postby Horizon » Mon Jun 17, 2013 6:48 pm

Antonio Linares wrote:Hakan,

I missed your previous posts, sorry.

One general comment that I would like to do regarding the unresolved external symbols that appear sometimes when we build our EXEs is that to solve it is as easy as making a search for the function name inside all the LIBs files. I use Total Commander files search feature for this, and in a moment you can locate the missing lib that you need :-)


Thank you very much for usefull trick.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Errors in New Build

Postby TimStone » Mon Jun 17, 2013 8:46 pm

Sorry for the delay.

The Make file for UE Studio is in FWH 13.05. Look for the Application _vc32 file and use that one. You will need to modify it to your particular path files but otherwise it should work.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Errors in New Build

Postby juanjogascem » Thu Jul 04, 2013 3:27 pm

Buenas, acabo de adquirir la nueva version de Febereo de 2013 y al linkar me daba errores
He seguido los hilos y he bajado una version de PNG.LIB, pero me da el siguiente error.
PNG.LIB contains invalid OMF record, type 0x21.

El caso es que al compilar algun ejemplo sencillo no me da error, pero cuando intento compilar una aplicacion compleja, co VERCE es cuando sucede.

Saludos
Juanjo
juanjogascem
 
Posts: 102
Joined: Wed May 31, 2006 8:49 am
Location: España

Re: Errors in New Build

Postby TimStone » Thu Jul 04, 2013 4:30 pm

Antonio posted a link for downloading the proper png file. You want to use that one.

I have no problem with the png.lib. Perhaps I just don't actually call anything in it.

I have a very complex app ( about 4 MB of source code ) and it works fine using MSVC 2010 or 2012 with Harbour and FWH. There will be few changes needed, but when you are done, the result will be a smooth running program using the latest coding tools.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Errors in New Build

Postby Antonio Linares » Thu Jul 04, 2013 6:01 pm

Juanjo,

SI usas xHarbour gratuito y Borland, usa esta librería:
https://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=png.zip
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], karinha, nageswaragunupudi and 112 guests