Page 4 of 4

Re: Error al compilar con HMG3.6

Posted: Fri Dec 20, 2024 8:28 pm
by edk
What display MsgDebug ( cNM1, cNM2) ?

Re: Error al compilar con HMG3.6

Posted: Fri Dec 20, 2024 10:24 pm
by serge_girard
Hi Edward,

The same...

Re: Error al compilar con HMG3.6

Posted: Fri Dec 20, 2024 10:34 pm
by edk
Can you prepare a sample of running code and sample SQL database? You've written before that

Code: Select all

? cNM1
gives the correct results. Show you in the console window or something else, e.g. in a file?

Re: Error al compilar con HMG3.6

Posted: Sat Dec 21, 2024 3:18 pm
by mjaviergutierrez
Hola !
edk dice : For version 8.0, the file can be found in the folder: C:\Program Files\MySQL\MySQL Server 8.0\lib\libmysql.dll

Pero me dá este error ....

Re: Error al compilar con HMG3.6

Posted: Tue Jan 14, 2025 3:56 pm
by serge_girard
Edward,

I get this error :

Code: Select all

P:/hmg.3.6/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lssleay32: No such file or directory
P:/hmg.3.6/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibeay32: No such file or directory


I missed something...?

Re: Error al compilar con HMG3.6

Posted: Tue Jan 14, 2025 9:12 pm
by edk
Serge, note what I wrote about having to modify the file p:\hmg.3.6\harbour64\contrib\hbssl.hbc
You cannot use the 32 bit libeay32 and ssleay32 libraries. In your .hbp project file you need to make changes to the use of 64 bit libraries to

Code: Select all

libs=hbssl
libs=libssl-3-x64
libs=libcrypto-3-x64
or instead of these three definitions you just write one

Code: Select all

hbcs=hbssl.hbc

Re: Error al compilar con HMG3.6

Posted: Wed Jan 15, 2025 8:35 am
by serge_girard
Thanks! Forgot about that...!