Code::Blocks Forums
User forums => Help => Topic started by: Eurofighter_Ty on March 13, 2018, 08:27:11 am
-
Hi,
I am running Codeblocks on Linux Mint and I have a little problem:
-------------- Run: Release in Test (compiler: GNU GCC Compiler)---------------
Checking for existence: /home/max/Test/bin/Release/Test
Executing: xterm -T Test -e /usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/max/Test/bin/Release/Test (in /home/max/Test/.)
Process terminated with status -1 (0 minute(s), 0 second(s))
I have this piece of code:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
But when I try to run it, there is no terminal window with program like on Windows. I was excepting when I press build & run to open a terminal with the program itself and display the message: Hello world.
Can you please help me ?
Thanks !
-
Have you read this "Executing: xterm -T Test -e"?
Have you understood what it means?
I guess you don't have xterm installed and this is the reason it fails.
Either install xterm or go to the settings -> environment -> general and switch to a terminal you have installed.
And probably use the search function next time, because this is a common question.