Page 1 of 1
corrupt library
Posted: Wed Aug 13, 2014 8:27 am
by Dietmar Jahnel
Just tried to update an existing application to FWH 14.3 with xHB (January 2014)
Now I'm getting this:
xLINK: fatal error: Corrupt library: 'C:\fwh\lib\libmysql.lib'.
What can be done?
thanks for help!
Dietmar
Re: corrupt library
Posted: Wed Aug 13, 2014 10:24 am
by Antonio Linares
Dietmar,
Surely you are not using a MSVC 98 (this is compatible with xhb.com) library.
You may need to create the import library from its DLL using VC98 implib.exe
Re: corrupt library
Posted: Wed Aug 13, 2014 11:23 am
by Dietmar Jahnel
Surely you are not using a MSVC 98 (this is compatible with xhb.com) library.
- I just installed FWH 14.3 and the libs that came with this build. Changed nothing (just tried again).
You may need to create the import library from its DLL using VC98 implib.exe
- Does this mean FHW is not compatible with xhb any more? Not really, i hope
Can you please send me a compatible libmysql.lib.
Thanks,
Dietmar
Re: corrupt library
Posted: Thu Aug 14, 2014 3:22 pm
by Antonio Linares
Dietmar,
You can easily build it yourself:
1. Download libmysql.dll from here:
http://www.sitasoft.net/dolphin/files/libmysql_dll.zip
2. Use Microsoft VC98 implib32.exe to create mysqldll.lib from it
3. xHb.com uses PellesC which it is only compatible with Microsoft VC 98. If you have PellesC, please check if it provides an implib.exe tool
4. FWH remains fully compatible with xHB.com. Surely you are using a wrong libmysql.lib
5. Please seriously consider to migrate to Harbour and stop depending from a very old Microsoft C compiler version (cause xHb.com)
Re: corrupt library
Posted: Thu Aug 14, 2014 3:26 pm
by Antonio Linares
Dietmar,
This one should work fine, I just created it for you
https://bitbucket.org/fivetech/fivewin- ... hb.com.zip