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
D:\PRG\LIB_EXTRA\png.lib : fatal error LNK1136: invalid or corrupt file
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.
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
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 111 guests