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

535 views
Skip to first unread message

xba...@gmail.com

unread,
Apr 20, 2026, 4:38:37 PMApr 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 AMApr 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 AMApr 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 AMApr 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 PMApr 22
to Alain Aupeix, harbou...@googlegroups.com

xba...@gmail.com

unread,
Apr 22, 2026, 8:36:28 PMApr 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 AMApr 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,
Apr 24, 2026, 2:04:01 AMApr 24
to Harbour Users
VirtualBox_Linux Mint_24_04_2026_07_59_43.png

antonio....@gmail.com

unread,
Apr 26, 2026, 2:45:35 AMApr 26
to Harbour Users
VirtualBox_Linux Mint_26_04_2026_08_42_42.png

antonio....@gmail.com

unread,
Apr 26, 2026, 3:05:22 AMApr 26
to Harbour Users

681598716_27258819797043058_6661772198932167527_n.jpg

xba...@gmail.com

unread,
Apr 28, 2026, 1:35:55 PMApr 28
to Harbour Users
-----------------------------------------------------------------------------------------------------------
HarbourBuilder + Lubuntu 25 - Compiling ii NOT OK - ERROR.
--------------------------------------------------------------------------------------------------------------

[1/6] Compiling hbbuilder_linux.prg...
Harbour 3.2.0dev (r2602281433)
Copyright (c) 1999-2025, https://harbour.github.io/
[2/6] Compiling hbbuilder_linux.c...
  WebKit2GTK 4.1 detected — WebView enabled
[3/6] gtk3_core.o — up to date
[4/6] Compiling GTK3 inspector...
[5/6] Linking hbbuilder_linux...
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0xe30): undefined reference to `HB_FUN_UI_PALETTESETCOMPICON'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x5e10): undefined reference to `HB_FUN_HBMYSQL_OPEN'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x5ed0): undefined reference to `HB_FUN_HBMYSQL_ERROR'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x5ef0): undefined reference to `HB_FUN_HBMYSQL_EXEC'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x5f50): undefined reference to `HB_FUN_HBMYSQL_CLOSE'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x5f90): undefined reference to `HB_FUN_HBMYSQL_QUERY'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x5fb0): undefined reference to `HB_FUN_HBMYSQL_FIELDS'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x5fd0): undefined reference to `HB_FUN_HBMYSQL_TABLES'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x5ff0): undefined reference to `HB_FUN_HBMYSQL_LASTID'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x62b0): undefined reference to `HB_FUN_HBPGSQL_OPEN'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x62d0): undefined reference to `HB_FUN_HBPGSQL_ERROR'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x62f0): undefined reference to `HB_FUN_HBPGSQL_CLOSE'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x6310): undefined reference to `HB_FUN_HBPGSQL_EXEC'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x6330): undefined reference to `HB_FUN_HBPGSQL_QUERY'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x6350): undefined reference to `HB_FUN_HBPGSQL_FIELDS'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x6370): undefined reference to `HB_FUN_HBPGSQL_TABLES'
/usr/bin/ld: hbbuilder_linux.o:(.data.rel+0x63b0): undefined reference to `HB_FUN_HBPGSQL_LASTID'

collect2: error: ld returned 1 exit status


screen.jpg

kamlesh patel

unread,
Apr 30, 2026, 1:31:49 AMApr 30
to harbou...@googlegroups.com
Compile on Windows 11 64bit and generate  Error

C:\HarbourBuilder\samples\projects\helloworld

Best Regards
Kamlesh

--
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.
Screenshot 2026-04-30 105711.png

antonio....@gmail.com

unread,
Apr 30, 2026, 11:11:32 AMApr 30
to Harbour Users
Fixed, please git pull again

best regards

kamlesh patel

unread,
May 1, 2026, 2:38:36 AMMay 1
to harbou...@googlegroups.com
Respected sir

Compile in MSVC  32bit and 64Bit in difference between in exe and generate error
1. compiling in MSVC 32bit  exe generates success full and run and return.
2. compiling in MSVC 64bit  exe generates errors.

Attach Video File.

Best Regards
Kamlesh



Reply all
Reply to author
Forward
0 new messages