64 bit installation in HMG 3.4.4

Moderator: Rathinagiri

bluebird
Posts: 172
Joined: Wed Sep 28, 2016 3:55 am
DBs Used: DBF

64 bit installation in HMG 3.4.4

Post by bluebird »

Dear Friends, please tell me what is missing from my installation

I did the following steps in my 1st attempt to install and run in 64 bits

Firstly, I backed up the 32 bit installation .... good idea as it turns out

then ran the HMG setup in the same c:\HMG.3.4.4 directory over top of the 32 bit contents

then unzipped the two RAR files, HARBOUR-64 (nightly 2016-04-20) and MinGW-64_ver.5.3.0 -> into c:\HMG.3.4.4

Then ran the 64 bit batch files BuildAllLib64 and BuildLib64

After that I tried to build one of my own HBP files with "Build64 myfile.HBP"

***************** errors ********************
windres not recognized as an internal or external command
HBMK2 not recognized as an internal or external command

What is wrong with my attempt?

Thanks
User avatar
mustafa
Posts: 1158
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: 64 bit installation in HMG 3.4.4

Post by mustafa »

Hola bluebird
Mi directorio de HMG es el siguiente --> hmg.3.4.4_64
hay que cambiar LIB-64 por la que te mando pues faltan librerias en el original
descarga LIB-64.ZIP despues ejecuta _BuildAllLib64.bat y tendria de funcionar

Para compilar yo estoy poniendo esto en mi fichero Bat ---> build.3.4.4_64.bat
contenido del Bat ---> "Demo" seria mi fichero ejemplo Demo.Prg

@ECHO OFF
call c:\hmg.3.4.4_64\build64.bat Demo %*


saludos
Mustafa
*-------------------------------------------------------------------------*
Hello bluebird
My HMG directory is the following -> hmg.3.4.4_64
you have to change LIB-64 for the one I'm sending you, since libraries are missing in the original
download LIB-64.ZIP then execute _BuildAllLib64.bat and it would work

To compile I am putting this in my Bat ---> build.3.4.4_64.bat file
content of the Bat ---> "Demo" would be my example file Demo.Prg

@ECHO OFF
call c: \ hmg.3.4.4_64 \ build64.bat Demo% *

regards
Mustafa
Attachments
LIB-64.ZIP
(706.75 KiB) Downloaded 803 times
hmg.3.4.4_64.jpg
hmg.3.4.4_64.jpg (84.46 KiB) Viewed 14558 times
bluebird
Posts: 172
Joined: Wed Sep 28, 2016 3:55 am
DBs Used: DBF

Re: 64 bit installation in HMG 3.4.4

Post by bluebird »

mustafa wrote: Fri Dec 01, 2017 11:28 am Hola bluebird
Mi directorio de HMG es el siguiente --> hmg.3.4.4_64
hay que cambiar LIB-64 por la que te mando pues faltan librerias en el original
descarga LIB-64.ZIP despues ejecuta _BuildAllLib64.bat y tendria de funcionar

Para compilar yo estoy poniendo esto en mi fichero Bat ---> build.3.4.4_64.bat
contenido del Bat ---> "Demo" seria mi fichero ejemplo Demo.Prg

@ECHO OFF
call c:\hmg.3.4.4_64\build64.bat Demo %*


saludos
Mustafa
*-------------------------------------------------------------------------*
Hello bluebird
My HMG directory is the following -> hmg.3.4.4_64
you have to change LIB-64 for the one I'm sending you, since libraries are missing in the original
download LIB-64.ZIP then execute _BuildAllLib64.bat and it would work

To compile I am putting this in my Bat ---> build.3.4.4_64.bat file
content of the Bat ---> "Demo" would be my example file Demo.Prg

@ECHO OFF
call c: \ hmg.3.4.4_64 \ build64.bat Demo% *

regards
Mustafa
Thanks, I used your Lib64 files and get the following result

If I try to build an exe file INSIDE the c:\HMG.3.4.4 directory it works :)

if I copy build64.bat to c:\HMG.3.4.4\ mysourecode directory if fails :(

If I do this -> Build64 myproject.prg,I get messages that "windres" and "HMG2"
are not recognized as an internal or external command.

It seems that these file, which are definitely present , are not visible to Build64.

I thank you for you patience and help ...... I am close to success
User avatar
mustafa
Posts: 1158
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: 64 bit installation in HMG 3.4.4

Post by mustafa »

Hola bluebird
No entiendo mucho lo que te pasa ? el problema está en los idiomas ? para poder comunicarnos Buf.. :cry: . Buf... :oops: . Ja... :lol: Ja... :lol:

Yo tengo creadas dos Carpetas diferentes una c:\HMG.3.4.4 y otra diferente de c:\HMG.3.4.4_64
se supone que to Ordenador es de 64 bits ?
Yo instalé la versión que Rathinagiri publicó en -> http://www.hmgforum.com/viewtopic.php?f=43&t=5198

You can download this latest version from here (64 MB)
For 64 Bit developers, you have to download and install Harbour64 and MingW64 from here (15 MB) and here (71 MB) respectively.

Añadí la libreria LIB-64.Zip
Despues actualice todo con _BuildAllLib64.bat
y me cree para trabajar el Bat que te mandé --> build.3.4.4_64.bat

Yo no trabajo con el HMG-IDE si tu trabajas en Build tiende que marcar 64-bits
yo trabajo solo con el Bat que te puse, esto es conveniencia de cada uno.

build.3.4.4_64.bat
@ECHO OFF
call c:\ hmg.3.4.4_64\build64.bat <Nombre del PRG> % *

y me funciona
Saludos
Mustafa
*-------------------------------------------------------------------------------------------------*
Hello bluebird
I do not understand much what happens to you? the problem is in the languages? to be able to communicate Buf.. :cry: . Buf... :oops: . Ja... :lol: Ja... :lol:


I have created two different folders, one c: \ HMG.3.4.4 and another one different from c: \ HMG.3.4.4_64
is it supposed that to Computer is 64 bits?
I installed the version that Rathinagiri posted at -> http://www.hmgforum.com/viewtopic.php?f=43&t=5198

You can download this latest version from here (64 MB)
For 64 Bit developers, you have to download and install Harbor64 and MingW64 from here (15 MB) and here (71 MB) respectively.

I added the library LIB-64.Zip
Then update everything with _BuildAllLib64.bat
and he believes me to work the Bat that I sent you ---> build.3.4.4_64.bat

I do not work with the HMG-IDE if you work in Build it tends to dial 64-bits
I work alone with the Bat that I put to you, this is the convenience of each one.

build.3.4.4_64.bat
@ECHO OFF
call c:\hmg.3.4.4_64 \build64.bat <Name PRG> % *

and it works
regards
Mustafa
bluebird
Posts: 172
Joined: Wed Sep 28, 2016 3:55 am
DBs Used: DBF

Re: 64 bit installation in HMG 3.4.4

Post by bluebird »

Thank you for all your work Mustafa. Sorry if there is a communication problem.
If there is a problem it is my fault not yours

I think it is working now , thanks to your help
User avatar
mustafa
Posts: 1158
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: 64 bit installation in HMG 3.4.4

Post by mustafa »

No , al contrario el problema es mio, por no saber responderte en Ingles
Suerte amigo :lol: ;)
Mustafa

No, on the contrary, the problem is mine, for not knowing how to respond in English
Lucky friend :lol: ;)
Mustafa
bluebird
Posts: 172
Joined: Wed Sep 28, 2016 3:55 am
DBs Used: DBF

Re: 64 bit installation in HMG 3.4.4

Post by bluebird »

We set up HMG with the recommended Borland BCC55 compiler that only allows 32 bit compilation.
Do other people with a 64 bit HMG have a different compiler to actually build 64 bit code.

Amy suggested 64 bit compilers to download?

Thanks
User avatar
fouednoomen
Posts: 186
Joined: Sun Oct 14, 2012 8:33 am
DBs Used: DBF, MySQL, MariaDB, SQLite, PostgreSQL, Oracle, ODBC
Location: Tunisia

Re: 64 bit installation in HMG 3.4.4

Post by fouednoomen »

Dear Mustafa , could you help me to build my programs in 64 bit ainsi , please step by step because it's the first time for me
i want also to keep my 32 bit hmg
regards
User avatar
mustafa
Posts: 1158
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: 64 bit installation in HMG 3.4.4

Post by mustafa »

Hola amigo fouednoomen:

Desafortunadamente no se si podre ayudar
estoy trabajando con la versión 3.4.4. que
publico el amigo Rathinagiri
posted at -> http://www.hmgforum.com/viewtopic.php?f=43&t=5198

Download:
HMG.3.4.4.Setup.exe
HARBOUR-64(nightly 2016-04-20).rar
MinGW-64_ver.5.3.0.rar
*--------------------------------------------*

Instalé => HMG.3.4.4.Setup.exe
Crear una nueva carpeta ejemplo => c:\hmg.3.4.4_64
una vez está instalado HMG344
Borrar las carpetas => HARBOUR , MinGw y LIB
sustituir por:
HARBOUR-64(nightly 2016-04-20).rar
MinGW-64_ver.5.3.0.rar
con los siguiente nombres:
HARBOUR-64 y MinGW-64
LIB-64 copia Mustafa
ATTACHMENTS
LIB-64.ZIP de aqui:
viewtopic.php?f=46&t=5479&sid=ca5de00a1 ... a0d7c6567a
no está muy actualizado
pero puede servir

Ahora hay que activar => _BuildAllLib64.bat
para Ansi y para Unicode
pon primero 1 [enter] y luego 2 [enter]
aunque hay momentos que queda parado la pantalla de CMD
hay que espera hasta el final y ya esta

crear un bat parecido al que indico
build.3.4.4_64.bat
@ECHO OFF
call c:\hmg.3.4.4_64 \build64.bat <Name PRG> % *
y ya esta

Saludos/Salam
Mustafa

*----------------------- Google ------------------------------*
Hello friend fouednoomen:

Unfortunately I don't know if I can help
I am working with version 3.4.4. that
I publish the friend Rathinagiri
posted at -> http://www.hmgforum.com/viewtopic.php?f=43&t=5198

Download:
HMG.3.4.4.Setup.exe
HARBOR-64 (nightly 2016-04-20) .rar
MinGW-64_ver.5.3.0.rar
* -------------------------------------------- *
I installed => HMG.3.4.4.Setup.exe
Create a new Folder example => c:\hmg.3.4.4_64
once HMG344 is installed
Delete the folders => HARBOR, MinGw and LIB
switch for:
HARBOR-64 (nightly 2016-04-20) .rar
MinGW-64_ver.5.3.0.rar
with the following names:
HARBOR-64 and MinGW-64
LIB-64 copy Mustafa
ATTACHMENTS
LIB-64.ZIP from here:
viewtopic.php?f=46&t=5479&sid=ca5de00a1 ... a0d7c6567a
not very up to date
but it can serve

Now you have to activate => _BuildAllLib64.bat
for Ansi and for Unicode
put first 1 [enter] and then 2 [enter]
although there are moments when the CMD screen is stopped
you have to wait until the end and that's it

Create a bat similar to the one indicated
build.3.4.4_64.bat
@ECHO OFF
call c:\hmg.3.4.4_64\build64.bat <Name PRG>% *
and that's it

Regards/Salam
Mustafa
User avatar
danielmaximiliano
Posts: 2607
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: 64 bit installation in HMG 3.4.4

Post by danielmaximiliano »

Hola a todos: para crear una distribucion actual solo deben descargar MinGW64 desde SourceForge (Instalador Online)
https://sourceforge.net/projects/mingw- ... nstall.exe
Ejecutar el Instalador y elegir desde sus opciones
2021-02-08 07_19_47-Window.png
2021-02-08 07_19_47-Window.png (11.78 KiB) Viewed 7325 times
en mi caso utilizo la carpeta c:\MinGW64

para Harbour descargar los fuentes desdehttps://github.com/harbour/core
Clonar
gh repo clone harbour/core
los que esten acostumbrados a la consola GitHub o descargar el Zip
descomprimir Zip en mi caso
C:\Harbour

agregar al Path la ruta de los ejecutables de MinGW64 , en mi caso utilizo un Batch llamado
mingw64.bat

Code: Select all

rem MinGW GCC for Windows x86-64
rem (requires preceding build for native target)
set PATH=C:\MinGW64\mingw32\bin;%PATH%
win-make
2021-02-08 07_37_29-.png
2021-02-08 07_37_29-.png (42.79 KiB) Viewed 7325 times
se puede mover Harbour64 y MinGW64 a la carpeta c:\hmg xxxxxx\ , espero les sirva
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Post Reply