On 27 July 2017 at 19:47, Peter Koukoulis pkoukoulis@gmail.com wrote:
Hi,
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.
If it runs "in Geany" (by which I assume you mean in the terminal window) on one system and in an external terminal on another it sounds very much like the run in VTE settings Matthew asked you to check are different. Please verify they are the same.
Cheers Lex
Thanks
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).
Regards, Matthew Brush _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users