Page 1 of 1
XHB XCC FWH 24-07
Posted: Thu Sep 19, 2024 2:49 am
by jair
Estoy intentando compilar un sistema con xharbour comercial y la biblioteca FWH 24-07
DOWNLOADS FOI XHB E FWH 18/09/2024
LINK DO SITE
http://www.xharbour.org/files/download/ ... 72_xcc.zip
Precizo muinto compilar um sistema com a versão nova do fivewi 24-07!
Alguém poderia me ajudar com esses erros ?
Minha instalação é ambiente padrão C:\xhb e c:\fwh
Code: Select all | Expand
xHarbour 1.3.0 Intl. (SimpLex) (Build 20230826)
xLINK: error: Unresolved external symbol '__imp__SetWindowTheme referenced from (window.obj)'.
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: error: Unresolved external symbol '_MonthCal_SetCurrentView referenced from FiveHCM.lib(calendar.obj)'.
xLINK: error: Unresolved external symbol '_MonthCal_GetCurrentView referenced from FiveHCM.lib(calendar.obj)'.
xLINK: error: Unresolved external symbol '_MonthCal_SizeRectToMin referenced from FiveHCM.lib(calendar.obj)'.
xLINK: fatal error: 8 unresolved external(s).
Re: XHB XCC FWH 24-07
Posted: Thu Sep 19, 2024 5:01 am
by Antonio Linares
Enlaza uxtheme.lib y Comctl32.lib
Re: XHB XCC FWH 24-07
Posted: Thu Sep 19, 2024 10:54 am
by jair
cuando la libmysql.lib aumenta da este error
Code: Select all | Expand
Compiling...
xHarbour 1.3.0 Intl. (SimpLex) (Build 20230826)
Copyright 1999-2023, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'fivedbu.prg' and generating preprocessed output to 'fivedbu.ppo'...
Generating C source output to 'fivedbu.c'...
Generating object output to 'fivedbu.obj'...
Done.
Lines 3814, Functions/Procedures 84, pCodes 24821
fivedbu.prg(3238) Warning W0001 Ambiguous reference: '_SET_DBCODEPAGE'
fivedbu.prg(3813) Warning W0030 STATIC Function 'RSLOADRECORD' defined but never used
xRC: fivedbu.RC(40): warning: No newline at end of file.
xLINK: fatal error: Corrupt library: 'c:\fwh\lib\libmysql.lib'.
sin libmysql.lib da esta lista de errores
Code: Select all | Expand
xHarbour 1.3.0 Intl. (SimpLex) (Build 20230826)
Copyright 1999-2023, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'fivedbu.prg' and generating preprocessed output to 'fivedbu.ppo'...
Generating C source output to 'fivedbu.c'...
Generating object output to 'fivedbu.obj'...
Done.
Lines 3814, Functions/Procedures 84, pCodes 24821
fivedbu.prg(3238) Warning W0001 Ambiguous reference: '_SET_DBCODEPAGE'
fivedbu.prg(3813) Warning W0030 STATIC Function 'RSLOADRECORD' defined but never used
xRC: fivedbu.RC(40): warning: No newline at end of file.
xLINK: warning: Symbol 'D:\sistemas\xHB\lib\xhbzip.lib(zip_xhb.obj)->_sprintf previously defined at D:\sistemas\xHB\c_lib\crt.lib(sprintf.obj)' is multiply defined.
Creating object: fivedbu.EXP
Creating library: fivedbu.LIB
xLINK: error: Unresolved external symbol '_mysql_init referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_options referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_real_connect referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_set_character_set referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_errno referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_error referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_close referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_server_init referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_server_end referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_num_rows referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_fetch_row referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_list_tables referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_ping referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_free_result referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_list_dbs referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_real_query referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_store_result referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_use_result referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_field_count referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_affected_rows referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_list_fields referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_num_fields referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_fetch_field referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_fetch_lengths referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_fetch_fields referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_hex_string referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_real_escape_string referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_escape_string referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_data_seek referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_stmt_bind_param referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_stmt_execute referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_set_server_option referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_autocommit referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_insert_id referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_get_client_info referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_character_set_name referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_get_server_info referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_select_db referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_info referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_next_result referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_stmt_init referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_stmt_prepare referenced from FiveHMX.lib(fwmaria.obj)'.
xLINK: error: Unresolved external symbol '_mysql_stmt_close referenced from FiveHMX.lib(fwmaria.obj)'.
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: 47 unresolved external(s).
* Linking executable errors *
c:\fwh\samples>
con esta lista de bibliotecas
Code: Select all | Expand
fivedbu.obj
fivedbu.res
c:\fwh\lib\fivehmx.lib
c:\fwh\lib\fivehcm.lib
xhb.lib
OptG.lib
c:\fwh\lib\xhb\hbhpdf.lib
c:\fwh\lib\xhb\harupdf.lib
c:\fwh\lib\xhb\png.lib
c:\fwh\lib\xhb\hbzebra.lib
C:\xHB\lib\ads.lib
C:\xHB\lib\ace32.lib
C:\xHB\lib\dbf.lib
C:\xHB\lib\nsx.lib
C:\xHB\lib\ntx.lib
C:\xHB\lib\cdx.lib
C:\xHB\lib\rmdbfcdx.lib
C:\xHB\lib\ct3comm.lib
C:\xHB\c_lib\crt.lib
C:\xHB\c_lib\win\kernel32.lib
C:\xHB\c_lib\win\user32.lib
C:\xHB\c_lib\win\winspool.lib
C:\xHB\c_lib\win\ole32.lib
C:\xHB\c_lib\win\oleaut32.lib
C:\xHB\c_lib\win\odbc32.lib
C:\xHB\c_lib\win\odbccp32.lib
C:\xHB\c_lib\win\uuid.lib
C:\xHB\c_lib\win\wsock32.lib
C:\xHB\c_lib\win\ws2_32.lib
C:\xHB\c_lib\win\wininet.lib
C:\xHB\c_lib\win\advapi32.lib
C:\xHB\c_lib\win\shlwapi.lib
C:\xHB\c_lib\win\msimg32.lib
C:\xHB\c_lib\win\mpr.lib
C:\xHB\c_lib\win\OleDlg.lib
C:\xHB\c_lib\win\version.lib
C:\xHB\c_lib\win\comctl32.lib
C:\xHB\c_lib\win\comdlg32.lib
C:\xHB\c_lib\win\gdi32.lib
C:\xHB\c_lib\win\shell32.lib
C:\xHB\c_lib\win\winmm.lib
C:\xHB\c_lib\win\lz32.lib
C:\xHB\c_lib\win\Netapi32.lib
C:\xHB\c_lib\win\gdiplus.lib
C:\xHB\c_lib\win\uxtheme.lib
C:\lib\lib\LIBC.LIB
C:\fwh\lib\xfw.lib
C:\xHB\lib\xhbzip.lib
C:\xHB\lib\xhbzipdll.lib
Re: XHB XCC FWH 24-07
Posted: Thu Sep 19, 2024 11:55 am
by Antonio Linares
Esta es el fichero libmysql.def generado a partir de libmysql.dll
obtenido asi:
c:\bcc77\bin\impdef.exe libmysql.def libmysql.dll
libmysql.def
Code: Select all | Expand
LIBRARY LIBMYSQL.DLL
EXPORTS
myodbc_remove_escape @1 ; myodbc_remove_escape
mysql_affected_rows @2 ; mysql_affected_rows
mysql_autocommit @3 ; mysql_autocommit
mysql_change_user @4 ; mysql_change_user
mysql_character_set_name @5 ; mysql_character_set_name
mysql_close @6 ; mysql_close
mysql_commit @7 ; mysql_commit
mysql_data_seek @8 ; mysql_data_seek
mysql_debug @9 ; mysql_debug
mysql_dump_debug_info @10 ; mysql_dump_debug_info
mysql_embedded @11 ; mysql_embedded
mysql_eof @12 ; mysql_eof
mysql_errno @13 ; mysql_errno
mysql_error @14 ; mysql_error
mysql_escape_string @15 ; mysql_escape_string
mysql_fetch_field @16 ; mysql_fetch_field
mysql_fetch_field_direct @17 ; mysql_fetch_field_direct
mysql_fetch_fields @18 ; mysql_fetch_fields
mysql_fetch_lengths @19 ; mysql_fetch_lengths
mysql_fetch_row @20 ; mysql_fetch_row
mysql_field_count @21 ; mysql_field_count
mysql_field_seek @22 ; mysql_field_seek
mysql_field_tell @23 ; mysql_field_tell
mysql_free_result @24 ; mysql_free_result
mysql_get_character_set_info @25 ; mysql_get_character_set_info
mysql_get_client_info @26 ; mysql_get_client_info
mysql_get_client_version @27 ; mysql_get_client_version
mysql_get_host_info @28 ; mysql_get_host_info
mysql_get_parameters @29 ; mysql_get_parameters
mysql_get_proto_info @30 ; mysql_get_proto_info
mysql_get_server_info @31 ; mysql_get_server_info
mysql_get_server_version @32 ; mysql_get_server_version
mysql_get_ssl_cipher @33 ; mysql_get_ssl_cipher
mysql_hex_string @34 ; mysql_hex_string
mysql_info @35 ; mysql_info
mysql_init @36 ; mysql_init
mysql_insert_id @37 ; mysql_insert_id
mysql_kill @38 ; mysql_kill
mysql_list_dbs @39 ; mysql_list_dbs
mysql_list_fields @40 ; mysql_list_fields
mysql_list_processes @41 ; mysql_list_processes
mysql_list_tables @42 ; mysql_list_tables
mysql_more_results @43 ; mysql_more_results
mysql_next_result @44 ; mysql_next_result
mysql_num_fields @45 ; mysql_num_fields
mysql_num_rows @46 ; mysql_num_rows
mysql_options @47 ; mysql_options
mysql_ping @48 ; mysql_ping
mysql_query @49 ; mysql_query
mysql_read_query_result @50 ; mysql_read_query_result
mysql_real_connect @51 ; mysql_real_connect
mysql_real_escape_string @52 ; mysql_real_escape_string
mysql_real_query @53 ; mysql_real_query
mysql_refresh @54 ; mysql_refresh
mysql_rollback @55 ; mysql_rollback
mysql_row_seek @56 ; mysql_row_seek
mysql_row_tell @57 ; mysql_row_tell
mysql_select_db @58 ; mysql_select_db
mysql_send_query @59 ; mysql_send_query
mysql_server_end @60 ; mysql_server_end
mysql_server_init @61 ; mysql_server_init
mysql_set_character_set @62 ; mysql_set_character_set
mysql_set_local_infile_default @63 ; mysql_set_local_infile_default
mysql_set_local_infile_handler @64 ; mysql_set_local_infile_handler
mysql_set_server_option @65 ; mysql_set_server_option
mysql_shutdown @66 ; mysql_shutdown
mysql_sqlstate @67 ; mysql_sqlstate
mysql_ssl_set @68 ; mysql_ssl_set
mysql_stat @69 ; mysql_stat
mysql_stmt_affected_rows @70 ; mysql_stmt_affected_rows
mysql_stmt_attr_get @71 ; mysql_stmt_attr_get
mysql_stmt_attr_set @72 ; mysql_stmt_attr_set
mysql_stmt_bind_param @73 ; mysql_stmt_bind_param
mysql_stmt_bind_result @74 ; mysql_stmt_bind_result
mysql_stmt_close @75 ; mysql_stmt_close
mysql_stmt_data_seek @76 ; mysql_stmt_data_seek
mysql_stmt_errno @77 ; mysql_stmt_errno
mysql_stmt_error @78 ; mysql_stmt_error
mysql_stmt_execute @79 ; mysql_stmt_execute
mysql_stmt_fetch @80 ; mysql_stmt_fetch
mysql_stmt_fetch_column @81 ; mysql_stmt_fetch_column
mysql_stmt_field_count @82 ; mysql_stmt_field_count
mysql_stmt_free_result @83 ; mysql_stmt_free_result
mysql_stmt_init @84 ; mysql_stmt_init
mysql_stmt_insert_id @85 ; mysql_stmt_insert_id
mysql_stmt_next_result @86 ; mysql_stmt_next_result
mysql_stmt_num_rows @87 ; mysql_stmt_num_rows
mysql_stmt_param_count @88 ; mysql_stmt_param_count
mysql_stmt_param_metadata @89 ; mysql_stmt_param_metadata
mysql_stmt_prepare @90 ; mysql_stmt_prepare
mysql_stmt_reset @91 ; mysql_stmt_reset
mysql_stmt_result_metadata @92 ; mysql_stmt_result_metadata
mysql_stmt_row_seek @93 ; mysql_stmt_row_seek
mysql_stmt_row_tell @94 ; mysql_stmt_row_tell
mysql_stmt_send_long_data @95 ; mysql_stmt_send_long_data
mysql_stmt_sqlstate @96 ; mysql_stmt_sqlstate
mysql_stmt_store_result @97 ; mysql_stmt_store_result
mysql_store_result @98 ; mysql_store_result
mysql_thread_end @99 ; mysql_thread_end
mysql_thread_id @100 ; mysql_thread_id
mysql_thread_init @101 ; mysql_thread_init
mysql_thread_safe @102 ; mysql_thread_safe
mysql_use_result @103 ; mysql_use_result
mysql_warning_count @104 ; mysql_warning_count
Para XHB comercial tenemos que usar Microsoft VC98:
c:\vc98\Bin>lib /def:libmysql.def /out:libmysql.lib
Aqui tienes la librería de importación resultante:
https://github.com/FiveTechSoft/FWH_too ... bmysql.lib
Re: XHB XCC FWH 24-07
Posted: Thu Sep 19, 2024 12:19 pm
by Enrico Maria Giordano
Antonio Linares wrote:Para XHB comercial tenemos que usar Microsoft VC98:
Are you absolutely sure? Did you try using MSVC 2022?
Re: XHB XCC FWH 24-07
Posted: Thu Sep 19, 2024 12:41 pm
by Antonio Linares
Dear Enrico,
We build FWH for xhb commercial using VC98 since long time ago
It is the only one compatible with Pelles C
Re: XHB XCC FWH 24-07
Posted: Thu Sep 19, 2024 12:52 pm
by jair
cuando la libmysql.lib 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 'fivedbu.prg' and generating preprocessed output to 'fivedbu.ppo'...
Generating C source output to 'fivedbu.c'...
Generating object output to 'fivedbu.obj'...
Done.
Lines 3814, Functions/Procedures 84, pCodes 24821
fivedbu.prg(3238) Warning W0001 Ambiguous reference: '_SET_DBCODEPAGE'
fivedbu.prg(3813) Warning W0030 STATIC Function 'RSLOADRECORD' defined but never used
xRC: fivedbu.RC(40): warning: No newline at end of file.
xLINK: fatal error: Corrupt library: 'c:\fwh\lib\xhb\libmysql.lib'.
* Linking executable errors *
C:\fwh\samples>
Re: XHB XCC FWH 24-07
Posted: Thu Sep 19, 2024 1:37 pm
by jair
use buildxhb.bat para compilar en c:\fwh\samples\fivedbu.prg para ver los errores que tengo problemas al compilar aquí en los sistemas con los que intento compilar
xcc para que pueda verificar los errores agregando estas 3 bibliotecas xhbzip.lib xhbzipdll.lib libmysql.lib a la biblioteca libmysql.lib que tomé de la versión xhb 1.2.2 para poder omitir este paso
https://wormhole.app/JEelP#BQQ-YSHxiquv7fCRIipLTA
Esta es de la versión 1.2.2, la tomé prestada ya que las de la versión xhb 1.30 no funcionan, intentaré provisionalmente con esta pero aún hay errores con respecto a las otras dos libs
Code: Select all | Expand
Compiling...
xHarbour 1.3.0 Intl. (SimpLex) (Build 20230826)
Copyright 1999-2023, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'fivedbu.prg' and generating preprocessed output to 'fivedbu.ppo'...
Generating C source output to 'fivedbu.c'...
Generating object output to 'fivedbu.obj'...
Done.
Lines 3814, Functions/Procedures 84, pCodes 24821
fivedbu.prg(3238) Warning W0001 Ambiguous reference: '_SET_DBCODEPAGE'
fivedbu.prg(3813) Warning W0030 STATIC Function 'RSLOADRECORD' defined but never used
xRC: fivedbu.RC(40): warning: No newline at end of file.
xLINK: warning: Symbol 'D:\sistemas\xHB\lib\xhbzip.lib(zip_xhb.obj)->_sprintf previously defined at D:\sistemas\xHB\c_lib\crt.lib(sprintf.obj)' is multiply defined.
Creating object: fivedbu.EXP
Creating library: fivedbu.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).
* Linking executable errors *
C:\fwh\samples>