Page 1 of 1

How to create hmgmysql library in 64 bits

Posted: Sun Aug 08, 2021 7:43 am
by sudip
Hello,

How shall I create hmgmysql library in 64 bits?

I am getting this error:

Code: Select all

C:/HMG/lib-64\libhmgmysql-64.a(hmgmysql.o):hmgmysql.c:(.data+0x70): undefined reference to `HB_FUN_TMYSQLSERVER'
Thanks in advance :-)

Re: How to create hmgmysql library in 64 bits

Posted: Sun Aug 08, 2021 3:41 pm
by mustafa
Hi Sudip
Mira si te puede servir esta versiĆ³n

See if this version can help you

Regards /Saludos /Salam

Re: How to create hmgmysql library in 64 bits

Posted: Tue Aug 10, 2021 5:17 am
by sudip
Thanks a ton Mustafa. I shall try and confirm :-) :-) :-)

Re: How to create hmgmysql library in 64 bits

Posted: Tue Aug 10, 2021 5:45 am
by sudip
Hello Mustafa,

I am getting the same problem. Shall I need to change the configuration?
Screenshot 2021-08-10 111011.jpg
Screenshot 2021-08-10 111011.jpg (102.16 KiB) Viewed 10243 times
Thanks a lot :-)

Re: How to create hmgmysql library in 64 bits

Posted: Tue Aug 10, 2021 12:22 pm
by gisjr134
Hello Supid ,

in my project i use harbour 64 bits , wich i downloaded and made a build of it. There is a folder called Hbmysql , wich has a file called HbMysql.Hbc . I Use That File in my Projetct ,as Described bellow.

echo Debug Compilacao.
Build64 /n /b SisDbHmg.Hbp SisDbHmg.Hbc hbmySql.Hbc

in Hmg\lib64 folder there is a libhbmysql.a , wich was created when
harbour64 was builded.

i Dont know if there is some other way To use Mysql 64 bits library , but This way i Told you It works fine for me.

I hope This information will be useful for you.

Re: How to create hmgmysql library in 64 bits

Posted: Wed Aug 11, 2021 8:10 am
by sudip
Hello Gisjr134,

Thanks for your help.

I think I should create hbmysql.a library in C:\HMG\HARBOUR-64\lib\win\mingw64 folder.
I copied HBMYSQL folder from C:\HMG\HARBOUR\CONTRIB to C:\HMG\HARBOUR-64\CONTRIB FOLDER. But I couldn't create that library.

Can anyone please help?

Thanks in advance :-)