PDA

View Full Version : [SOLVED] codeblocks terminated with status 255



yao_man
April 19th, 2008, 11:18 PM
I have codeblocks svn 5000 on Kubuntu 8.04. I tried to compile and run a project with file test.cpp that I use to test out short code pieces. I compiled the project, and it worked.I tried to run it; however, and I got the following message

Checking for existence: /home/myfiles/Documents/c++/scripts/test/bin/Debug/test
Executing: xterm -T test -e /usr/bin/cb_console_runner /home/myfiles/Documents/c++/scripts/test/bin/Debug/test (in /home/myfiles/Documents/c++/scripts/test/.)
Process terminated with status 255 (0 minutes, 0 seconds)
I would appreciate any help you can give me.

thornmastr
April 20th, 2008, 04:31 AM
It is very hard to tell anything without the code. Also, what is the SVN number of your version off CODEBLOCKS?

yao_man
April 20th, 2008, 08:37 PM
I'm running svn 5000. Here is the code

// const_cast
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <cmath>
#include "/home/myfiles/Documents/c++/headers/stream_cast.h"
#include "/home/myfiles/Documents/c++/headers/stringcaps.h"
using namespace std;



int main()
{
char var = 'a';
cout << var << endl;
return 0;
}

yao_man
April 20th, 2008, 08:41 PM
I found the problem. xterm was not installed on my system. I ran "sudo aptitude install xterm" and it now executes as expected.

dilipchauhan2045
November 21st, 2011, 12:47 PM
I found the problem. xterm was not installed on my system. I ran "sudo aptitude install xterm" and it now executes as expected.
How can i install this xterm?

dilipchauhan2045
November 21st, 2011, 01:09 PM
How can i install this xterm?
detail guide first?