FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posts: 817
Joined: Sun Jun 15, 2008 07:47 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Tue Jun 29, 2021 06:54 PM
Antonio eso era para los includes, para el estanadar c11 es as铆:
Code (fw): Select all Collapse
$(BCDIR)\bin\bcc64 -c -std=c11 ...
______________________________________________________________________________

Sevilla - Andaluc铆a
Posts: 1276
Joined: Tue Dec 28, 2010 01:29 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Tue Jun 29, 2021 07:03 PM
Gracias

Estoy obteniendo este codigo de error pero no logro conseguir documentacion que me explique a que se debe


Turbo Incremental Link64 6.75 Copyright (c) 1997-2016 Embarcadero Technologies, Inc.
if ERRORLEVEL 0 sistema.exe

** error -1073741819 ** deleting Sistema.exe


Agradeciendo de antemano

FWH 25.12

Harbour/Hbmk2

Microsoft Visual C++

MySql 8.0

Antigravity

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 06:27 AM

Ese valor num茅rico lo esta generando TLink ?

Como obtienes ese n煤mero ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1276
Joined: Tue Dec 28, 2010 01:29 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 04:28 PM

El valor lo esta generando Tlink

FWH 25.12

Harbour/Hbmk2

Microsoft Visual C++

MySql 8.0

Antigravity

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 04:55 PM

Prueba a borrar cualquier fichero temporal que se haya creado

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1276
Joined: Tue Dec 28, 2010 01:29 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 05:02 PM

Los he borrado todos e igual se sigue presentando

FWH 25.12

Harbour/Hbmk2

Microsoft Visual C++

MySql 8.0

Antigravity

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 05:38 PM

si me envias todo por wetransfer lo pruebo aqui :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1276
Joined: Tue Dec 28, 2010 01:29 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 05:57 PM
Antonio Linares wrote:si me envias todo por wetransfer lo pruebo aqui :-)


Maestro

Enviado a su correo por Wetransfer

FWH 25.12

Harbour/Hbmk2

Microsoft Visual C++

MySql 8.0

Antigravity

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 06:39 PM

Aqui aparecen estos errores:

Turbo Incremental Link64 6.72 Copyright (c) 1997-2015 Embarcadero Technologies, Inc.
Error: Unresolved external '_finitel' referenced from C:\HARBOUR\LIB\WIN\BCC64\HBCOMMON.A|hbprintf.o
Error: Unresolved external '_isnanl' referenced from C:\HARBOUR\LIB\WIN\BCC64\HBCOMMON.A|hbprintf.o
Error: Unresolved external '_finite' referenced from C:\HARBOUR\LIB\WIN\BCC64\HBCOMMON.A|hbprintf.o

Parece que la versi贸n de bcc64 que estamos usando no es correcta, porque la declaraci贸n de esas funciones
estan en el fichero de cabecera float.h de bcc64 y sin embargo esos s铆mbolos no estan dentro de las librer铆as de bcc64 (*.a)

Mi consejo es construir con Visual Studio Community. Es sin duda la mejor opci贸n actual: usar el compilador que nos
da la empresa que construye Windows, gratis, actualizado debidamente y con un IDE profesional, y debugger a bajo nivel, etc... :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1276
Joined: Tue Dec 28, 2010 01:29 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 06:43 PM
Antonio Linares wrote:Aqui aparecen estos errores:

Turbo Incremental Link64 6.72 Copyright (c) 1997-2015 Embarcadero Technologies, Inc.
Error: Unresolved external '_finitel' referenced from C:\HARBOUR\LIB\WIN\BCC64\HBCOMMON.A|hbprintf.o
Error: Unresolved external '_isnanl' referenced from C:\HARBOUR\LIB\WIN\BCC64\HBCOMMON.A|hbprintf.o
Error: Unresolved external '_finite' referenced from C:\HARBOUR\LIB\WIN\BCC64\HBCOMMON.A|hbprintf.o

Parece que la versi贸n de bcc64 que estamos usando no es correcta, porque la declaraci贸n de esas funciones
estan en el fichero de cabecera float.h de bcc64 y sin embargo esos s铆mbolos no estan dentro de las librer铆as de bcc64 (*.a)

Mi consejo es construir con Visual Studio Community. Es sin duda la mejor opci贸n actual: usar el compilador que nos
da la empresa que construye Windows, gratis, actualizado debidamente y con un IDE profesional, y debugger a bajo nivel, etc... :-)


Ok, maestro, voy a probar y si sigue la incidencia le dejo saber nuevamente

FWH 25.12

Harbour/Hbmk2

Microsoft Visual C++

MySql 8.0

Antigravity

Posts: 1276
Joined: Tue Dec 28, 2010 01:29 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 06:46 PM

Me puede facilitar los link para Harbour 32 bits y Harbour 64 bits con Visual Studio?

FWH 25.12

Harbour/Hbmk2

Microsoft Visual C++

MySql 8.0

Antigravity

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 07:17 PM
Aqui tienes todos construidos usando GitHub Actions:

https://github.com/FiveTechSoft/Harbour_builder
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1276
Joined: Tue Dec 28, 2010 01:29 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 09:19 PM
Antonio Linares wrote:Aqui tienes todos construidos usando GitHub Actions:

https://github.com/FiveTechSoft/Harbour_builder


Maestro, aca mis path

Code (fw): Select all Collapse
HBDIR=c:\harbour_msvc32
FWDIR=c:\fwh
VCDIR="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC"
SDKDIR="C:\Program Files (x86)\Windows Kits\10"


y Genera este error


one.obj : error LNK2001: unresolved external symbol HB_FUN_FW_GT
two.obj : error LNK2001: unresolved external symbol HB_FUN_FW_GT
one.obj : error LNK2001: unresolved external symbol HB_FUN_ERRORSYS
two.obj : error LNK2001: unresolved external symbol HB_FUN_ERRORSYS
one.obj : error LNK2019: unresolved external symbol hb_vmExecute referenced in function HB_FUN_MAIN
two.obj : error LNK2001: unresolved external symbol hb_vmExecute
three.obj : error LNK2001: unresolved external symbol hb_vmExecute
one.obj : error LNK2019: unresolved external symbol hb_vmProcessSymbols referenced in function hb_vm_SymbolInit_ONE
two.obj : error LNK2001: unresolved external symbol hb_vmProcessSymbols
three.obj : error LNK2001: unresolved external symbol hb_vmProcessSymbols
two.obj : error LNK2001: unresolved external symbol HB_FUN_TWINDOW
three.obj : error LNK2001: unresolved external symbol HB_FUN_MSGINFO
LIBCMT.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@YAHXZ)
c:\fwh\lib\FiveH32.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\fwh\lib\FiveHC32.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbrtl.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbvm.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\gtgui.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hblang.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbmacro.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbrdd.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\rddntx.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\rddcdx.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\rddfpt.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbsix.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbdebug.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbcommon.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbpp.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbwin.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbcplr.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\xhb.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbpcre.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbct.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbcpage.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbzlib.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\png.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
one.exe : fatal error LNK1120: 7 unresolved externals


Es Visual Studio 2019

FWH 25.12

Harbour/Hbmk2

Microsoft Visual C++

MySql 8.0

Antigravity

Posts: 1276
Joined: Tue Dec 28, 2010 01:29 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 09:19 PM
Antonio Linares wrote:Aqui tienes todos construidos usando GitHub Actions:

https://github.com/FiveTechSoft/Harbour_builder


Maestro, aca mis path

Code (fw): Select all Collapse
HBDIR=c:\harbour_msvc32
FWDIR=c:\fwh
VCDIR="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC"
SDKDIR="C:\Program Files (x86)\Windows Kits\10"


y Genera este error


one.obj : error LNK2001: unresolved external symbol HB_FUN_FW_GT
two.obj : error LNK2001: unresolved external symbol HB_FUN_FW_GT
one.obj : error LNK2001: unresolved external symbol HB_FUN_ERRORSYS
two.obj : error LNK2001: unresolved external symbol HB_FUN_ERRORSYS
one.obj : error LNK2019: unresolved external symbol hb_vmExecute referenced in function HB_FUN_MAIN
two.obj : error LNK2001: unresolved external symbol hb_vmExecute
three.obj : error LNK2001: unresolved external symbol hb_vmExecute
one.obj : error LNK2019: unresolved external symbol hb_vmProcessSymbols referenced in function hb_vm_SymbolInit_ONE
two.obj : error LNK2001: unresolved external symbol hb_vmProcessSymbols
three.obj : error LNK2001: unresolved external symbol hb_vmProcessSymbols
two.obj : error LNK2001: unresolved external symbol HB_FUN_TWINDOW
three.obj : error LNK2001: unresolved external symbol HB_FUN_MSGINFO
LIBCMT.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@YAHXZ)
c:\fwh\lib\FiveH32.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\fwh\lib\FiveHC32.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbrtl.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbvm.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\gtgui.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hblang.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbmacro.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbrdd.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\rddntx.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\rddcdx.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\rddfpt.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbsix.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbdebug.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbcommon.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbpp.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbwin.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbcplr.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\xhb.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbpcre.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbct.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbcpage.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\hbzlib.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
c:\harbour_msvc32\lib\png.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
one.exe : fatal error LNK1120: 7 unresolved externals


Es Visual Studio 2019

FWH 25.12

Harbour/Hbmk2

Microsoft Visual C++

MySql 8.0

Antigravity

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Posted: Wed Jun 30, 2021 09:23 PM

> library machine type 'x86' conflicts with target machine type 'x64'

Estas intentando construir un ejecutable de 64 bits usando librer铆as de 32 bits

Revisa samples\buildh64.bat

regards, saludos

Antonio Linares
www.fivetechsoft.com