I'm trying to build a routine that does a simple zip of files, and unzipping of files.
With xHarbour, hb_zipfile() and hb_unzipfile() have a set of libs and it works perfectly.
However, I want to build this with Harbour. I am linking in hbziparc.lib, hbzlib.lib, hbmzip.lib and minizip.lib. Unfortunately the linker still shows 9 functions missing, so apparently I am missing a .lib file. These functions are included in mzip.c which should be in one of the .libs ( like minizip.lib ).
Is anyone using Harbour with zip functions ? If so, from my list above, can you tell what .lib file I am missing ?
Here are the missing functions:
--------------------Configuration: MLS10us - Release--------------------
harbour C:\Projects\MLS10aus\Source\M10us.prg /n /gc0 /q0 /iC:\Harbour\INCLUDE /iC:\fwh\INCLUDE /w1 /l /oM10us.c
C:\Projects\MLS10aus\Source\M10us.prg(17) Error F0029 Can't open #include file 'hbmzip.ch'
LINK /nologo /subsystem:windows /force:multiple /NODEFAULTLIB:libc /NODEFAULTLIB:msvcrt M10us.obj TDATA.obj Kukui.obj aswEmail.obj DemandForce.obj mls10.res FiveHC32.lib FiveH32.lib hbrtl.lib hbvm.lib gtgui.lib gtwin.lib hblang.lib hbmacro.lib hbrdd.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib xhb.lib hbcplr.lib hbziparc.lib hbziparc_dll.lib minizip.lib hbzlib.lib hbmzip.lib hbdebug.lib hbcommon.lib hbpp.lib hbwin.lib hbcpage.lib hbct.lib hbpcre.lib png.lib C:\Harbour\UserLibs\ace32.lib C:\Harbour\UserLibs\rddads.lib kernel32.lib user32.lib gdi32.lib winspool.lib comctl32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib oledlg.lib winmm.lib uuid.lib odbc32.lib odbccp32.lib iphlpapi.lib mpr.lib version.lib wsock32.lib psapi.lib msimg32.lib libcmt.lib oldnames.lib libcpmt.lib gdiplus.lib libeay32.lib ssleay32.lib hbtipssl.lib hbssl.lib ws2_32.lib wcapm.lib
Creating library M10us.lib and object M10us.exp
M10us.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPNEW
M10us.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPOPEN
M10us.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPGETLASTERROR
M10us.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPSETFILEPATH
M10us.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPSETEXTRACTPATH
M10us.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPSETPASSWORD
M10us.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPEXTRACTFILES
M10us.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPCLOSE
M10us.exe : fatal error LNK1120: 8 unresolved externals
MLS10us.EXE - 10 error(s), 0 warning(s)
Thank you for your assistance