They offer different flash templates with latest features.

Forgot password
Written by:
Score: 4
votes: 10
Format: Article

 A simple solution to "Process terminated with status 255" in Codeblocks

If you face the "Process terminated with status 255" error in Code::Blocks, it possibly means that the default program that C::B uses for launching console programs is something you've not installed on your OS (in my case, it was xterm). you don't necessarily need to install xterm and customize the font etc. Just change the Codeblocks default:

In Codeblocks, I went to Settings > Environment , and from the drop down menu next to Terminal to launch console programs, selected the Terminal (in Mint 16 Cinnamon, mine was "gnome-terminal --disable-factory -t $TITLE -x").

Now Codeblocks won't try to run my C program in xterm that does not exist on my PC (or at least even after installing it, I don't like the look or want to change it constantly).

Tags: c, c++, compiler, IDE, Codeblocks, xterm, run, build
Created: 3 years ago.
Last edited: 3 years ago.
Reviewed: 3 years ago.
Read 0 times.

1 year ago

Can anybody help? I fixed the "255" but no I am facing Process Terminated with status 0.  
1 year ago

Download and install Code Block:
1)Open 'Software Manager'
2)Then select category 'Programming'
3)Choose 'Code Block'
4)Click on 'Install' option

Download and install g++ compiler:
1)open 'Software Manager'
2)Then select category 'Programming'
3)Choose 'g++'
4)Click on 'Install' option

Open 'Terminal'
Press keys(Ctrl+Alt+T)

Try installing the xterm package first
sudo apt-get install xterm

For the symlink you would have to escalate privileges with sudo
sudo ln -s x-terminal-emulator xterm

_______________________Thank You_______________________________
2 years ago

Thanks..Adding "xterm" from the Software center DO solved the missing terminal/console!  
2 years ago

Thanks a lot. I installed CB under Rebecca and got started with C++ at After installing the g++ package I had this status (255)
Your solution came in very handy. I don't think I could have figured it out myself.
2 years ago

Friend, you saved me a lot of time and pain.

Adding "xterm" from the Software center DO solved the missing terminal/console!

Thank you!
3 years ago

good info  

Other tutorials from Pedy