Error al compilar con HMG3.6

HMG en Español

Moderator: Rathinagiri

edk
Posts: 999
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: Error al compilar con HMG3.6

Post by edk »

What display MsgDebug ( cNM1, cNM2) ?
User avatar
serge_girard
Posts: 3342
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Error al compilar con HMG3.6

Post by serge_girard »

Hi Edward,

The same...
Attachments
f1.png
f1.png (5.62 KiB) Viewed 1560 times
There's nothing you can do that can't be done...
edk
Posts: 999
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: Error al compilar con HMG3.6

Post 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?
User avatar
mjaviergutierrez
Posts: 156
Joined: Fri Nov 30, 2012 7:51 pm
DBs Used: DBF
Location: San Lorenzo, Santa Fe, Argentina

Re: Error al compilar con HMG3.6

Post 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 ....
Attachments
Captura de pantalla 2024-12-21 121426.png
Captura de pantalla 2024-12-21 121426.png (8.63 KiB) Viewed 1544 times
...
User avatar
serge_girard
Posts: 3342
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Error al compilar con HMG3.6

Post 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...?
There's nothing you can do that can't be done...
edk
Posts: 999
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: Error al compilar con HMG3.6

Post 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
User avatar
serge_girard
Posts: 3342
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Error al compilar con HMG3.6

Post by serge_girard »

Thanks! Forgot about that...!
There's nothing you can do that can't be done...
Post Reply