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

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

Postby xmanuel » Tue Jun 29, 2021 6:54 pm

Antonio eso era para los includes, para el estanadar c11 es así:
Code: Select all  Expand view
$(BCDIR)\bin\bcc64 -c -std=c11 ...
______________________________________________________________________________
Sevilla - Andalucía
xmanuel
 
Posts: 756
Joined: Sun Jun 15, 2008 7:47 pm
Location: Sevilla

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

Postby Compuin » Tue Jun 29, 2021 7: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 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1213
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

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

Postby Antonio Linares » Wed Jun 30, 2021 6:27 am

Ese valor numérico lo esta generando TLink ?

Como obtienes ese número ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Compuin » Wed Jun 30, 2021 4:28 pm

El valor lo esta generando Tlink
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1213
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

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

Postby Antonio Linares » Wed Jun 30, 2021 4:55 pm

Prueba a borrar cualquier fichero temporal que se haya creado
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Compuin » Wed Jun 30, 2021 5:02 pm

Los he borrado todos e igual se sigue presentando
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1213
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

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

Postby Antonio Linares » Wed Jun 30, 2021 5:38 pm

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Compuin » Wed Jun 30, 2021 5:57 pm

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


Maestro

Enviado a su correo por Wetransfer
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1213
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

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

Postby Antonio Linares » Wed Jun 30, 2021 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Compuin » Wed Jun 30, 2021 6: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 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1213
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

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

Postby Compuin » Wed Jun 30, 2021 6:46 pm

Me puede facilitar los link para Harbour 32 bits y Harbour 64 bits con Visual Studio?
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1213
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

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

Postby Antonio Linares » Wed Jun 30, 2021 7:17 pm

Aqui tienes todos construidos usando GitHub Actions:

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Compuin » Wed Jun 30, 2021 9:19 pm

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
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1213
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

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

Postby Compuin » Wed Jun 30, 2021 9:19 pm

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
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1213
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

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

Postby Antonio Linares » Wed Jun 30, 2021 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Otto and 70 guests