Page 1 of 1

Link problems with 8.05

Posted: Tue May 20, 2008 11:21 am
by Colin Wisbey
Borland compile. FWH 8.05 + 8.05's xHarbour + latest may '08 xHB.com's builder beta:
-----------------
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external 'AlphaBlend' referenced from D:\FWH\LIB\FIVEHC.LIB|BRUSHES
Error: Unresolved external '_inflateEnd' referenced from D:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_deflate' referenced from D:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_get_crc_table' referenced from D:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_deflateEnd' referenced from D:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_deflateInit2_' referenced from D:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_crc32' referenced from D:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_inflateInit2_' referenced from D:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_inflate' referenced from D:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
------------

The hbzip.lib in my xHarbour that came with 8.05 is only size 584,192. I tried including the HBZIP lib from the xHarbour\lib folder explicitly in my Libs listed inside xBuilder (as had worked fine with FWH 7.01 + xBuilder Dec 06).
The hbzip.lib in my xHarbour that came with my previous FWH (7.01) was
size 680,960.

Appreciate some help. Thanks.
Col

Posted: Tue May 20, 2008 11:46 am
by Antonio Linares
Colin,

You have to link also xHarbour Zlib.lib

Posted: Tue May 20, 2008 11:54 am
by Colin Wisbey
Great. That solved the zip linking problems. Thanks, Antonio, for such prompt assistance.

My only outstanding linking problem now is the 1st one in my post:

Error: Unresolved external 'AlphaBlend' referenced from D:\FWH\LIB\FIVEHC.LIB|BRUSHES

Suggestions?

TIA
Col

Posted: Tue May 20, 2008 1:13 pm
by Antonio Linares
Colin,

You have to link this library from Borland:

lib\psdk\msimg32.lib

Posted: Tue May 20, 2008 2:47 pm
by Colin Wisbey
Many thanks, Antonio. That did the trick.