User forums > Using Code::Blocks

Process terminated with status 255

(1/2) > >>

silverzhao:
Hello, I have a problems here: whenever I run a program, even just a simple "HelloWorld", it will say "Process terminated with status 255" as the red line shows.I wonder why it is not 0 . Thank you!
Well, I'm using codeblocks svn 6840 on ubuntu 10.10, and in "settings --> Environmet", I use "gnome-terminal -t $TITLE -x".

thomas:
http://forums.codeblocks.org/index.php/topic,13743.msg92605.html#msg92605

silverzhao:

--- Quote from: thomas on November 30, 2010, 11:32:43 am ---http://forums.codeblocks.org/index.php/topic,13743.msg92605.html#msg92605

--- End quote ---
Thank you for your kind reply, but I still do not quite understand it. I have xterm installed, but I prefer gnome-terminal. So is there any way that I can change return value 255 to 0? Thank you!

Jenna:
Does it work from a console ?

I use gnome-terminal on my system and have no such issues.

silverzhao:

--- Quote from: jens on December 01, 2010, 08:07:40 am ---Does it work from a console ?

I use gnome-terminal on my system and have no such issues.

--- End quote ---

I've just tried it. If I start CodeBlocks in gnome-terminal,  it works well, no more the annoying red line! But if I open it from "Applications" --> "Programming" --> "Code::Blocks IDE", the annoying red line comes back again! So why is this? Thank you!

Navigation

[0] Message Index

[#] Next page

Go to full version