How to create hmgmysql library in 64 bits

Moderator: Rathinagiri

Post Reply
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

How to create hmgmysql library in 64 bits

Post 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 :-)
With best regards,
Sudip
User avatar
mustafa
Posts: 1160
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: How to create hmgmysql library in 64 bits

Post by mustafa »

Hi Sudip
Mira si te puede servir esta versión

See if this version can help you

Regards /Saludos /Salam
Attachments
libhmgmysql-64.zip
(2.2 KiB) Downloaded 332 times
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: How to create hmgmysql library in 64 bits

Post by sudip »

Thanks a ton Mustafa. I shall try and confirm :-) :-) :-)
With best regards,
Sudip
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: How to create hmgmysql library in 64 bits

Post 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 9475 times
Thanks a lot :-)
With best regards,
Sudip
gisjr134
Posts: 44
Joined: Tue Dec 08, 2020 11:37 am
DBs Used: DBF,MySQL,PostgreSQL
Location: Brasil
Contact:

Re: How to create hmgmysql library in 64 bits

Post 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.
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: How to create hmgmysql library in 64 bits

Post 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 :-)
With best regards,
Sudip
Post Reply