a blank terminal appears with a heading of "geany_run_script_RCK23Y.sh", the last 5 characters before the suffix being random on each execution.
The debug messages that appear around the time of execution are:

"10:32:59: Geany INFO : Added filetype CUDA (65).
10:32:59: Geany INFO : Added filetype Cython (66).
10:32:59: Geany INFO : Added filetype Graphviz (67).
10:32:59: Geany INFO : Loaded libvte from libvte.so.9
10:32:59: Geany INFO : /home/mw/c++_Learn/learn2_c++/sqlapi/ora_ref_cursor.cpp : C++ (UTF-8)
10:32:59: Geany INFO : Loaded /usr/share/geany/tags/std99.c.tags (C), 1619 symbol(s).
10:32:59: Geany INFO : /home/mw/c++_Learn/learn2_c++/sqlapi/ora_connect.cpp : C++ (UTF-8)
10:32:59: Geany INFO : /home/mw/c++_Learn/learn2_c++/sqlapi/pg_connect_test.cpp : C++ (UTF-8)
10:32:59: fcitx-connection DEBUG : _fcitx_connection_bus_finished"

When I run the compiled and linked binary from a bash shell , then it executes as expected, but when executed with F5 from the geany the blank terminal appears. This is the behaviour in Lubuntu running in VirtualBox, but on Ubuntu it executes in geany as expected.
There is no error message it seems.


On Thu, 27 Jul 2017 at 00:56 Matthew Brush <mbrush@codebrainz.ca> wrote:
On 2017-07-26 01:21 PM, Peter Koukoulis wrote:
> Hi
> I am running geany in both Ubuntu 17.04 (host) and Lubuntu (VirtualBox
> guest) 17.04 . My build settings are the same on both:
> compile : g++ -g -Wall -std=c++14 -c -lboost_thread
> -DBOOST_THREAD_VERSION=4 -pthread "%f"
> link: g++ -g -Wall -std=c++14  -o "%e" "%f"
> /home/bluefrog/SQLAPI/lib/libsqlapi.a -lpthread -pthread -lboost_thread
> -DBOOST_THREAD_VERSION=4 -lboost_system -ldl -lpq
> make Object: make %e.o
> Execute: "./%e"
> LD_LIBRARY_PATH is defined the same on both.
> When I execute (F5), having successfully compiled and linked, nothing
> appears in the terminal on Lubuntu in the VirtualBox, but when the same is
> executed  in Ubuntu (host), all appears as expected. Could somebody suggest
> what it may be?

It should give some kind of error in the status tab, or in the status
bar, or at least log something in Help->Debug Messages.

One thing that comes to mind is that the working directories aren't
right, but I would think that should print you some error somewhere. The
other thing is that maybe one of them is set to run the execute command
in Geany's builtin terminal and the other isn't (Preferences->Terminal:
[x] Execute programs in the VTE, and [x] Don't use run script).

Matthew Brush
Users mailing list