User forums > Help
Process terminated with status 255 (0 minutes, 0 seconds)
Bernhard:
Hi,
i installed CodeBlocks Build Apr. 22 2008 on Ubuntu 7.10,because i think CodeBlocks is a nice,small IDE.
However,when i want to build and run a new console application, i always get the following error:
"Process terminated with status 255 (0 minutes, 0 seconds)".
I am sure,that there is no syntax error,because i build and run the sourcecode which is generated when i create a new console application....
I am using the Gnu GCC Compiler.
Any ideas?
Thanks!
Greetings from Austria
Bernhard
mholt:
Hey, this is great. I'm not the only one with this error! 8)
My thread is here: http://forums.codeblocks.org/index.php/topic,8274.0.html
Except I'm using Visual C++ compiler.
Yes, if there are any developers of CodeBlocks here offering support (concept!), we'd love to know what this means. Thanks!
MortenMacFly:
Please provide a minimal sample project and a step-by-step instruction how to reproduce. "Error 255" means nothing to me (at least) without source code.
Bernhard:
Hi,
i did this:
1.) i created a new project ( File -->New-->Project-->console application)
2.) in the wizard i selected C++ and Gnu GCC Compiler
Then,a new project and a source file (main.cpp) is created.
The sourcefile contains the following source code:
--- Code: ---#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
--- End code ---
After pressing the F9 Button (Build and Run), i get the "Error 255".
Thanks!
Bernhard
Jenna:
Hi Bernhard,
do you have xterm installed ?
If not you get this message when running a console project from C::B.
The easiest solution would be to run
--- Code: ---apt-get install xterm
--- End code ---
as root or via sudo.
You can use any other terminal-emulator, but then you have to fix the instruction in the "Settings -> Environment... > Terminal to launch console programs:" textfield.
Navigation
[0] Message Index
[#] Next page
Go to full version