News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Process terminated with status 255 (0 minutes, 0 seconds)

Started by Bernhard, April 25, 2008, 07:20:10 PM

Previous topic - Next topic

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.next.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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

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:

#include <iostream>

using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}


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

apt-get install xterm


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.

Bernhard


vfdff


BlueHazzard

1) this thread is 5 years old...
2) 10.05 is 4 years old. There are a lot ppas out there where you can get a never version of c::b
3) http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F specially the FULL BUILD LOG is important

greetings

stahta01

zinat: If you did a rebuild; then it means you have no source code files in the project.

Tim S.

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

zinat: Please read the FAQ this time.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

QuoteThings to remember:

   Look at the "Build Log" NOT the "Build Message" tab
   Do a re-build instead of build in order to get a full build log.

If you think you did it right attach a zipped cbp file to your post.

HINT: Rebuild means doing "Build" -> "rebuild" instead of run!!!!

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

Quote from: zinat on March 28, 2014, 07:33:14 AM
Sir i am attaching my project below..

Post the full build log.

READ THE DIRECTION I POSTED ABOVE!!!

You do realize that you need to enable two copies of CB to run to test run a CB plugin.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

I gave you all the help I can.

I suggest never posting in someone else thread!!!

You hijacked a unrelated thread.

You will likely NOT get a linux dev to help you in this thread.

I have no idea what non-windows user need to do to test a CB plugin.

I suggest reading what the people post instead of ignoring it in the future.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]