HarbourBuilder + Lubuntu 25 - Compiling is OK, but where is the executable?

244 views
Skip to first unread message

xba...@gmail.com

unread,
Apr 20, 2026, 4:38:37 PM (4 days ago) Apr 20
to Harbour Users
First of all, I would like to thank you for building the long-awaited Harbour Free IDE.

I wish the authors a long life and wisdom.

I created a short text/script on my blog to recount my experience with this new xBase tool.

Now, my question is: the IDE compiles and runs Project1 (but the Linux executable is not found in the directory where I created the project).

screen.jpg

https://programandoxbase.wordpress.com/2026/04/20/instalando-o-harbourbuilder/


antonio....@gmail.com

unread,
Apr 21, 2026, 10:30:45 AM (3 days ago) Apr 21
to Harbour Users
By default, the created executable is placed at /tmp/hbbuilder_build/UserApp

But now, the IDE automatically copies it to the proyect folder:

2026-04-21g (Linux — Smart executable naming based on cAppTitle or project folder)
  BUILD OUTPUT:
  - Executable name is derived from cAppTitle property of the first form if defined
    (spaces replaced with underscores)
  - If cAppTitle is not set, the executable takes the name of the project folder
  - Falls back to "UserApp" only when the project has not been saved yet

Many thanks for your feedback!

best regards 

Alain Aupeix

unread,
Apr 22, 2026, 4:38:04 AM (2 days ago) Apr 22
to harbou...@googlegroups.com, antonio....@gmail.com

Hi antonio,

Thinking there were improvements with hbbuilder_linux, I pull the source and build.

1) -lgpm is always missing.

2) adding it, it builds

3) When running, and trying to build the sample project, it doesn't detect harbour install.

4) After installing harbour under home, I have this error :

    [1] Saving project files...
         Form1.prg
    [2] Building main.prg...
    [3] Compiling main.prg...
         OK
    [4] Compiling framework...
         OK
    [5] Compiling C sources...
         OK
    [6] Compiling GTK3 backend...
         OK
    [7] Linking...
         FAILED:
    /usr/bin/ld : ne peut pas trouver -lhbpcre : Aucun fichier ou dossier de ce nom
    collect2: error: ld returned 1 exit status

beatrice@hp15-ubuntu:/opt/TuxPrograms/trunks/hbbuilder/bin$ locate -b libhbpcre
/opt/TuxPrograms/trunks/harbour/debian/harbour/usr/lib/harbour/libhbpcre.a
/opt/TuxPrograms/trunks/harbour/lib/linux/gcc/libhbpcre.a
/usr/lib/harbour/libhbpcre.a
/usr/lib64/harbour/libhbpcre.a

5) When trying the debug mode, it fails too :
    [1] Saving files...
    [2] Assembling debug_main.prg...
    [3] Harbour compile...
         OK
    [4] C compile...
         OK
    [5] dbghook + backend (prebuilt)...
         OK
    [6] Linking...
    /usr/bin/ld : ne peut pas trouver /tmp/hbbuilder_debug/gtk3_core.o : Aucun fichier ou dossier de ce nom
    /usr/bin/ld : ne peut pas trouver /tmp/hbbuilder_debug/gtk3_inspector.o : Aucun fichier ou dossier de ce
    nom
    /usr/bin/ld : ne peut pas trouver -lhbpcre : Aucun fichier ou dossier de ce nom
    collect2: error: ld returned 1 exit status

It's really bugging ...

A+
--

Alain Aupeix
Sites web : JujuLand | Pissobi-Lacassagne | Gadel
X.ubuntu 16.04 | H.arbour 3.2.0-1 (r2025-08-22 10:00) | Hw.gui 2.23-8dev (r3792) | G.ramps 5.1.2


Antonio Linares

unread,
Apr 22, 2026, 4:51:16 AM (2 days ago) Apr 22
to Alain Aupeix, Harbour Users
Its on development

Thanks for your feedback

Antonio Linares
www.fivetechsoft.com

Antonio Linares

unread,
Apr 22, 2026, 4:50:06 PM (2 days ago) Apr 22
to Alain Aupeix, harbou...@googlegroups.com

xba...@gmail.com

unread,
Apr 22, 2026, 8:36:28 PM (2 days ago) Apr 22
to Harbour Users
Linux - Lubuntu 25
Continuing the tests, the problem of finding the project executable has been solved; it saved in the project folder, ok.

We have an ERROR: the MAXIMIZE button is disabled by default, see the attached image.

screen.jpg


Now, question 2 of 2189489: how do I exit the executable?
I know this isn't a problem, just a lack of knowledge; I haven't even looked at the examples yet.  


oAPP:Exit()

It didn't work.

Alain Aupeix

unread,
Apr 23, 2026, 9:00:49 AM (yesterday) Apr 23
to harbou...@googlegroups.com, Antonio Linares

Pulling again, same errors

A+

--
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 visit https://groups.google.com/d/msgid/harbour-users/CANAUezCenPe35iVSfihEY3ReAX%3DB9Qv5Hi8AryGY1rWOtz2xLg%40mail.gmail.com.

antonio....@gmail.com

unread,
2:04 AM (12 hours ago) 2:04 AM
to Harbour Users
VirtualBox_Linux Mint_24_04_2026_07_59_43.png
Reply all
Reply to author
Forward
0 new messages