FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour error en ANSITOUTF8 con mariadb y mingw
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
error en ANSITOUTF8 con mariadb y mingw
Posted: Mon Jun 24, 2024 12:44 AM
Antonio, al intentar compilr los ejemplos maria??.prg de la carpeta samples, usando las libs para compilador mingw y buildg.h
da este error
Application Internal Error - d:\fwh\samples\maria15.exe
Terminated at: 2024-06-23 18:46:16
Unrecoverable error 9023: hb_xgrab requested to allocate zero bytes
Called from FW_STRTOUTF8(0) in .\source\function\VALTOSTR.PRG
Called from FW_ARRAYASLIST(0) in .\source\function\VALTOSTR.PRG
Called from WQOUT(0) in .\source\function\WQOUT.PRG
Called from FW_DEMODB(0) in .\source\internal\FWMARIA.PRG
Called from MAIN(22) in maria15.prg
------------------------------------------------------------------------
Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: error en ANSITOUTF8 con mariadb y mingw
Posted: Mon Jun 24, 2024 12:51 AM

usando buildh.bat y buildh32.bat con creados y ejecutados correctamente.

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: error en ANSITOUTF8 con mariadb y mingw
Posted: Mon Jun 24, 2024 08:17 AM
Estimado Carlos,

Aqui ha funcionado bien usando gcc85 y buildg.bat maria15 tan sólo he añadido esta lib a buildg.bat: -l%fwh%\lib\libmysql32
Estás usando la misma versión de gcc ?

https://github.com/FiveTechSoft/screenshots/blob/master/maria15gcc32.png?raw=true

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: error en ANSITOUTF8 con mariadb y mingw
Posted: Mon Jun 24, 2024 08:21 AM

Te envío las libs de FWH más recientes por email

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: error en ANSITOUTF8 con mariadb y mingw
Posted: Mon Jun 24, 2024 03:20 PM
con las lib enviadas funciona bien, gracias antonio.
aca uso:

https://github.com/brechtsanders/winlibs_mingw/releases/download/14.1.0posix-18.1.5-11.0.1-ucrt-r1/winlibs-i686-posix-dwarf-gcc-14.1.0-mingw-w64ucrt-11.0.1-r1.zip

info de interes
winlibs personal build version gcc-14.1.0-mingw-w64ucrt-11.0.1-r1

This is the winlibs Intel/AMD 32-bit standalone build of:
- GCC 14.1.0
- GDB 14.2
- MinGW-w64 11.0.1 (linked with ucrt)
- GNU Binutils 2.42
- GNU Make 4.4.1
- PExports 0.47
- dos2unix 7.5.2
- Yasm 1.3.0
- NASM 2.16.01
- JWasm 2.12pre
- ccache version 4.9.1
- CMake 3.29.3
- ninja 1.12.0
- Doxygen 1.10.0
- Universal Ctags 6.1.0
- Cppcheck 2.14.0

Thread model: posix
Runtime library: UCRT (Windows 10 or higher, or when [Update for Universal C Runtime](https://support.microsoft.com/en-us/topic/update-for-universal-c-runtime-in-windows-c0514201-7fe6-95a3-b0a5-287930f3560c) is installed on older Windows versions, not supported on systems older than Windows 7 SP1 and Windows Server 2008 R2 SP1)

This build was compiled with GCC 14.1.0 and packaged on 2024-05-08.

Please check out http://winlibs.com/ for the latest personal build.
Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)

Continue the discussion