Hola mundo

140 views
Skip to first unread message

Javier MDP

unread,
Apr 5, 2023, 10:02:23 AM4/5/23
to Harbour Users
Hola. Soy nuevo en esto. Instalé xHarbour con el plan de compilar viejos programas en Clipper, pero no pude dar el primer paso con "Hola mundo" y no me doy cuenta donde está el error. ¿me ayudarían?

Hello. I'm new to this. I installed xHarbour with the plan to compile old programs in Clipper, but I couldn't get the first step with "Hello world" and I don't realize where the error is. would you help me?

Project [ F:/pc/hola mundo/hola1.prg ] Launch [ No ] Rebuild [ Yes ] Started [ 21:22:13 ]

----------------------------------------------------------------------------------------------------

Batch File Exists => C:\Users\yo\AppData\Local\Temp\cq478p.bat

Batch File Contents =>

hbmk2 -q -trace -info -lang=en -width=0 -rebuild -s F:\pc\hola mundo\hola1.prg

Command => C:\Windows\system32\cmd.exe

Arguments => /C C:\Users\yo\AppData\Local\Temp\cq478p.bat

----------------------------------------------------------------------------------------------------

CurDir() => hb30\bin Starting in => F:\pc\hola mundo\

F:\pc\hola mundo>hbmk2 -q -trace -info -lang=en -width=0 -rebuild -s F:\pc\hola mundo\hola1.prg

hbmk2: Autodetected platform: win

hbmk2: Autodetected C compiler: mingw

hbmk2: Using Harbour: c:\hb30\bin c:\hb30\include c:\hb30\lib\win\mingw c:\hb30\bin

hbmk2: Using C compiler: c:\hb30\comp\mingw\bin

hbmk2: Compiling Harbour sources...

hbmk2: Harbour compiler command (embedded):

(c:\hb30\bin\harbour.exe) -n2 F:\pc\hola.prg mundo\hola1.prg -q -s -o.hbmk\win\mingw\ -ic:\hb30\include

Harbour 3.0.0 (Rev. 16951)

Copyright (c) 1999-2011, http://harbour-project.org/

Cannot open mundo\hola1.prg, assumed external

hbmk2: Error: Running Harbour compiler (embedded). 1

(c:\hb30\bin\harbour.exe) -n2 F:\pc\hola.prg mundo\hola1.prg -q -s -o.hbmk\win\mingw\ -ic:\hb30\include

Appliserver

unread,
Apr 5, 2023, 12:58:26 PM4/5/23
to harbou...@googlegroups.com

Ola Javier.

xHarbour # Harbour.

If you are using hbmk2 I suppose you are using Harbour.

From the same dir of the prg and supposing to have the environment variables correctly set,

hbmk2 hola1

should be enough!

In any case, a directory with spaces must be specified using "

Dan

--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/7cac299c-7dd9-4cf7-b52d-2ca4b7cbd0ean%40googlegroups.com.

Javier MDP

unread,
Apr 5, 2023, 3:40:48 PM4/5/23
to Harbour Users
Gracias Appliserver, pasé el primer escalón.... seguramente voy a volver a necesitar ayuda,... allá vamos...

Thank you Appliserver, I passed the first step... surely I will need help again... here we go...

Adalberto Baqueros Rodriguez

unread,
Apr 5, 2023, 5:09:03 PM4/5/23
to harbou...@googlegroups.com
Hola Javier, buenas tardes

Soy Boliviano y vivo en Santa Cruz de la Sierra-Bolivia; estoy dispuesto a colaborar contigo si puedes por favor me llamas por whatsapp +591 72619351 y con gusto buscamos soluciones

Un abrazo, Adalberto

Hurricane

unread,
Apr 5, 2023, 5:38:18 PM4/5/23
to Harbour Users
Hi,
A tutorial* on how to install Harbour, create a basic script and a more advanced one.

Then, if you want a complete and professional environment to develop in graphical interface mode with Harbour (DBF and SQL):
Harbour Xailer: essential first steps* (includes video).

* Portuguese language

If your system is for professional use, I recommend our kit.

Regards,

Antonio F.S.

unread,
Apr 5, 2023, 7:07:45 PM4/5/23
to harbou...@googlegroups.com

Hello.
I'm providing a video I made some time ago, of how I installed Harbour on Linux Ubuntu/Mint.

Best regards.
Antonio F.S.

https://drive.google.com/file/d/1vz7Yv0zv-VvW9ngxUFM40Xyi5rUB-w_H/view?usp=sharing


---------------------------------------------------------

El 5/4/23 a las 15:16, Javier MDP escribió:
--

Alain Aupeix

unread,
Apr 6, 2023, 4:17:59 AM4/6/23
to harbou...@googlegroups.com, Antonio F.S.
Hi,
An Harbour deb and HwGUI deb for Linux are available here :
 

https://jujuland.pagesperso-orange.fr/ubuntu/readme.html

For Harbour, it seems it works correctly under Ubuntu from 16.04 to 22.04

For hwgui, the deb works only for 16.04 and 18.04.

I'm making it to work under 2.04 et 22.04.

It will be available son.
--

Alain Aupeix
Sites web : JujuLand | Pissobi-Lacassagne | Gadel
X.ubuntu 16.04 [ H.arbour 3.2.0dev (r2022-11-25 17:14) | Hw.gui 2.22-4-r3213 | G.ramps 5.1.2 ]


Reply all
Reply to author
Forward
0 new messages