Is it possible to use xHarbour (org) lib-s with xHarbour commercial builder?
When trying to link hbzip lib with xHarbour builder I get error:
xLINK: fatal error: Corrupt library: 'D:\xharbour\lib\hbzip.lib'.
Taavi
HB_ZIPDELETEFILES()
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: HB_ZIPDELETEFILES()
Yes, you have to use the XCC binaries from here:
http://xharbour.org/index.asp?page=down ... naries_win
Specifically this:
http://www.xharbour.org/files/download/ ... 72_xcc.zip
http://xharbour.org/index.asp?page=down ... naries_win
Specifically this:
http://www.xharbour.org/files/download/ ... 72_xcc.zip
Re: HB_ZIPDELETEFILES()
After linking in
[D:\xHB10272_xcc\xhb\lib\xhbzip.lib]
[D:\xHB10272_xcc\xhb\lib\xhbzipdll.lib]
I get error:
xLINK: fatal error: File not found: 'LIBCMT.LIB'.
After adding
[D:\xHB10272_xcc\xhb\c_lib\win\libcmt.lib]
New errors:
xLINK: error: Unresolved external symbol '__localtime64 referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '___security_cookie referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '@__security_check_cookie@4 referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '___stdio_common_vsprintf referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: fatal error: 4 unresolved external(s).
[D:\xHB10272_xcc\xhb\lib\xhbzip.lib]
[D:\xHB10272_xcc\xhb\lib\xhbzipdll.lib]
I get error:
xLINK: fatal error: File not found: 'LIBCMT.LIB'.
After adding
[D:\xHB10272_xcc\xhb\c_lib\win\libcmt.lib]
New errors:
xLINK: error: Unresolved external symbol '__localtime64 referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '___security_cookie referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '@__security_check_cookie@4 referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '___stdio_common_vsprintf referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: fatal error: 4 unresolved external(s).
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: HB_ZIPDELETEFILES()
Are you using the new build or you are just using the hbzip.lib from the new build and the rest from the old one?
Re: HB_ZIPDELETEFILES()
I am using xHarbour builder from 2018 january
\bin\xHb.exe says:
xHarbour 1.2.3 Intl. (SimpLex) (Build 20170902)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
\bin\xHb.exe says:
xHarbour 1.2.3 Intl. (SimpLex) (Build 20170902)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
Re: HB_ZIPDELETEFILES()
Hello taavi:
On my blog you have the program pBackup ver 1.0 32bits from 2010 with all the sources.
I hope it helps you to see and test the code.
https://javierlloris.blogspot.com/2012/ ... store.html
Excuse my terrible English.
Greetings;
Javier LLoris
javierllorisprogramador@gmail.com
Blogs personales:
Programación: https://javierlloris.blogspot.com/
Japonés: https://bitacorajaponesa.blogspot.com/
Cubos de Rubik: https://www.instagram.com/jllorisperson ... 2ybz0gmvul
Tengo una colección de unos 100 cubos de todo tipo de formas geométricas, todos resueltos, en instagram solo hay unos cuentos cubos.
Libre
On my blog you have the program pBackup ver 1.0 32bits from 2010 with all the sources.
I hope it helps you to see and test the code.
https://javierlloris.blogspot.com/2012/ ... store.html
Excuse my terrible English.
Greetings;
Javier LLoris
javierllorisprogramador@gmail.com
Blogs personales:
Programación: https://javierlloris.blogspot.com/
Japonés: https://bitacorajaponesa.blogspot.com/
Cubos de Rubik: https://www.instagram.com/jllorisperson ... 2ybz0gmvul
Tengo una colección de unos 100 cubos de todo tipo de formas geométricas, todos resueltos, en instagram solo hay unos cuentos cubos.
Libre
Libreria: FWH/FWH1109 + Harbour 5.8.2 + Borland C++ 5.8.2
Editor de Recursos: PellecC
ADA, OURXDBU
S.O: XP / Win 7 /Win10
Blog: http://javierlloris.blogspot.com.es/
e-mail: javierllorisprogramador@gmail.com
Editor de Recursos: PellecC
ADA, OURXDBU
S.O: XP / Win 7 /Win10
Blog: http://javierlloris.blogspot.com.es/
e-mail: javierllorisprogramador@gmail.com
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: HB_ZIPDELETEFILES()
I don't think you can use a lib from the current xHarbour for XCC with an xHarbour from 2017, sorry.Taavi wrote:I am using xHarbour builder from 2018 january
\bin\xHb.exe says:
xHarbour 1.2.3 Intl. (SimpLex) (Build 20170902)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
fwh24-07
c:\fwh\samples\ buildxhb.bat mariainv
Error:
Error:
Code: Select all | Expand
┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for xHb commercial 24.07 - Jul. 2024 Harbour development power │▄
│ (c) FiveTech 1993-2024 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
xHarbour 1.3.0 Intl. (SimpLex) (Build 20230826)
Copyright 1999-2023, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'mariainv.prg' and generating preprocessed output to 'mariainv.ppo'...
Generating C source output to 'mariainv.c'...
Generating object output to 'mariainv.obj'...
Done.
Lines 1355, Functions/Procedures 30, pCodes 7696
xLINK: warning: Symbol 'c:\xhb\lib\xhbzip.lib(zip_xhb.obj)->_sprintf previously defined at c:\xhb\c_lib\crt.lib(sprintf.obj)' is multiply defined.
Creating object: mariainv.EXP
Creating library: mariainv.LIB
xLINK: error: Unresolved external symbol '__localtime64 referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '___security_cookie referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '@__security_check_cookie@4 referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '___stdio_common_vsprintf referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: fatal error: 4 unresolved external(s).