Ahora me encuentro con el problema de la incapacidad de compilar correctamente la clase TMysql, arrojando estos errores :
- Code: Select all Expand view
- ┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for Harbour 24.07 - Jul. 2024 Harbour development power │▄
│ (c) FiveTech 1993-2024 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
Harbour 3.2.0dev (r2407221137)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'tmysql.prg' and generating preprocessed output to 'tmysql.ppo'...
Lines 2540, Functions/Procedures 54
Generating C source output to 'tmysql.c'... Done.
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
tmysql.c:
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_MYSQL_QUERY' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_STORE_RESULT' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_NUM_ROWS' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_NUM_FIELDS' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_FETCH_FIELD' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_DATA_SEEK' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_FETCH_ROW' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_ERROR' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_REAL_CONNECT' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_COMMIT' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_ROLLBACK' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_GET_SERVER_VERSION' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_SELECT_DB' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_LIST_DBS' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unresolved external '_HB_FUN_MYSQL_LIST_TABLES' referenced from C:\SI\NLEN\FWH2407\SAMPLES\HBMYSQL\TMYSQL.OBJ
Error: Unable to perform link
* Linking errors *
Este es el buildh.bat ( el que viene con samples pero ajustando las carpetas )
- Code: Select all Expand view
- @ECHO OFF
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for Harbour 24.07 - Jul. 2024 Harbour development power ³Ü
ECHO ³ (c) FiveTech 1993-2024 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
if "%FWDIR%" == "" set FWDIR=c:\si\nlen\fwh2407
if "%HBDIR%" == "" set HBDIR=c:\si\nlen\harbour-bcc77
rem if "%2" == "/b" set GT=gtwin
rem if not "%2" == "/b" set GT=gtgui
set GT=gtgui
ECHO Compiling...
set hdir=%HBDIR%
set hdirl=%hdir%\lib\win\bcc
set fwh=%FWDIR%
if exist c:\si\nlen\bcc77 set bcdir=c:\si\nlen\bcc77
if exist c:\si\nlen\bcc77-64 set bcdir=c:\si\nlen\bcc77-64
%hdir%\bin\win\bcc\harbour %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > comp.log 2> warnings.log
if errorlevel 1 goto COMPILEERRORS
@type comp.log
@type warnings.log
echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include -I%fwh%\include %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c @b32.bc
:ENDCOMPILE
IF EXIST %1.rc %bcdir%\bin\brcc32.exe -r -I%bcdir%\include -I%bcdir%\include\windows\sdk %1
rem IF EXIST %1.rc %bcdir%\bin\cgrc.exe -r -m -I%bcdir%\include -I%bcdir%\include\windows\sdk %1
rem IF EXIST %1.rc %vcdir%\bin\rc -r -d__FLAT__ %1
echo -L%bcdir%\lib;%bcdir%\lib\psdk + > b32.bc
echo %bcdir%\lib\c0w32.obj + >> b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo %fwh%\lib\FiveH.lib %fwh%\lib\FiveHC.lib %fwh%\lib\libmysql.lib + >> b32.bc
rem echo %fwh%\lib\drxlsx32_bcc.lib + >> b32.bc
rem echo %fwh%\lib\xlsxlibhbbcc.lib + >> b32.bc
echo %fwh%\lib\hbpgsql.lib %fwh%\lib\libpq.lib + >> b32.bc
echo %fwh%\lib\drxlsx32_bcc.lib + >> b32.bc
echo %hdirl%\hbhpdf.lib + >> b32.bc
echo %hdirl%\libhpdf.lib + >> b32.bc
echo %hdirl%\png.lib + >> b32.bc
echo %hdirl%\hbwin.lib + >> b32.bc
echo %hdirl%\gtgui.lib + >> b32.bc
echo %hdirl%\hbrtl.lib + >> b32.bc
echo %hdirl%\hbvm.lib + >> b32.bc
echo %hdirl%\hblang.lib + >> b32.bc
echo %hdirl%\hbmacro.lib + >> b32.bc
echo %hdirl%\hbrdd.lib + >> b32.bc
echo %hdirl%\rddntx.lib + >> b32.bc
echo %hdirl%\rddcdx.lib + >> b32.bc
echo %hdirl%\rddfpt.lib + >> b32.bc
echo %hdirl%\hbsix.lib + >> b32.bc
echo %hdirl%\hbdebug.lib + >> b32.bc
echo %hdirl%\hbcommon.lib + >> b32.bc
echo %hdirl%\hbpp.lib + >> b32.bc
echo %hdirl%\hbcpage.lib + >> b32.bc
echo %hdirl%\hbcplr.lib + >> b32.bc
echo %hdirl%\hbct.lib + >> b32.bc
echo %hdirl%\hbpcre.lib + >> b32.bc
echo %hdirl%\xhb.lib + >> b32.bc
echo %hdirl%\hbziparc.lib + >> b32.bc
echo %hdirl%\hbmzip.lib + >> b32.bc
echo %hdirl%\hbzlib.lib + >> b32.bc
echo %hdirl%\minizip.lib + >> b32.bc
rem echo %hdirl%\png.lib + >> b32.bc
echo %hdirl%\hbusrrdd.lib + >> b32.bc
echo %hdirl%\hbtip.lib + >> b32.bc
echo %hdirl%\hbzebra.lib + >> b32.bc
echo %hdirl%\hbcurl.lib + >> b32.bc
echo %hdirl%\libcurl.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo %hdirl%\rddads.lib + >> b32.bc
rem echo %hdirl%\Ace32.lib + >> b32.bc
echo %fwh%\lib\dolphin.lib + >> b32.bc
rem echo %fwh%\lib\libmysql.lib + >> b32.bc
echo %bcdir%\lib\cw32.lib + >> b32.bc
echo %bcdir%\lib\psdk\uuid.lib + >> b32.bc
echo %bcdir%\lib\import32.lib + >> b32.bc
echo %bcdir%\lib\psdk\ws2_32.lib + >> b32.bc
echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc
echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\iphlpapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\msimg32.lib + >> b32.bc
echo %bcdir%\lib\psdk\psapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc
echo %bcdir%\lib\psdk\gdiplus.lib + >> b32.bc
echo %bcdir%\lib\psdk\shell32.lib + >> b32.bc
echo %bcdir%\lib\psdk\uxtheme.lib , >> b32.bc
IF EXIST %1.res echo %1.res >> b32.bc
if %GT% == gtwin %bcdir%\bin\ilink32 -Gn -Tpe -s @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
if %GT% == gtgui %bcdir%\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
rem signtool.exe sign /fd sha256 %1.exe
%1
GOTO EXIT
ECHO
rem delete temporary files
@del %1.c
:COMPILEERRORS
@type comp.log
@type warnings.log
ECHO * Compile errors *
GOTO EXIT
:LINKERROR
ECHO * Linking errors *
GOTO EXIT
:SINTAX
ECHO SYNTAX: Build [Program] {-- No especifiques la extensi?n PRG
ECHO {-- Don't specify .PRG extension
GOTO EXIT
:NOEXIST
ECHO The specified PRG %1 does not exist
:EXIT
¿Alguna sugerencia?
Gracias,