Page 3 of 5

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Tue Jun 29, 2021 6:54 pm
by xmanuel
Antonio eso era para los includes, para el estanadar c11 es así:
Code: Select all  Expand view
$(BCDIR)\bin\bcc64 -c -std=c11 ...

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Tue Jun 29, 2021 7:03 pm
by Compuin
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

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 6:27 am
by Antonio Linares
Ese valor numérico lo esta generando TLink ?

Como obtienes ese número ?

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 4:28 pm
by Compuin
El valor lo esta generando Tlink

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 4:55 pm
by Antonio Linares
Prueba a borrar cualquier fichero temporal que se haya creado

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 5:02 pm
by Compuin
Los he borrado todos e igual se sigue presentando

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 5:38 pm
by Antonio Linares
si me envias todo por wetransfer lo pruebo aqui :-)

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 5:57 pm
by Compuin
Antonio Linares wrote:si me envias todo por wetransfer lo pruebo aqui :-)


Maestro

Enviado a su correo por Wetransfer

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 6:39 pm
by Antonio Linares
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... :-)

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 6:43 pm
by Compuin
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

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 6:46 pm
by Compuin
Me puede facilitar los link para Harbour 32 bits y Harbour 64 bits con Visual Studio?

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 7:17 pm
by Antonio Linares
Aqui tienes todos construidos usando GitHub Actions:

https://github.com/FiveTechSoft/Harbour_builder

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 9:19 pm
by Compuin
Antonio Linares wrote:Aqui tienes todos construidos usando GitHub Actions:

https://github.com/FiveTechSoft/Harbour_builder


Maestro, aca mis path

Code: Select all  Expand view

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

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 9:19 pm
by Compuin
Antonio Linares wrote:Aqui tienes todos construidos usando GitHub Actions:

https://github.com/FiveTechSoft/Harbour_builder


Maestro, aca mis path

Code: Select all  Expand view

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

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

PostPosted: Wed Jun 30, 2021 9:23 pm
by Antonio Linares
> 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