News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

why do i get: "Process terminated with status 127 (0 minutes, 0 seconds)"???????

Started by monkeyboy199271, August 09, 2010, 03:59:36 AM

Previous topic - Next topic

monkeyboy199271

I just downloaded the program, and i am trying to learn the language, i typed a simple program, that i know should work, but, when i tried the build the program, the message i get is:

Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings"

So, can anyone out there help me, PLEASE?
Thanks in advance....

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

monkeyboy199271

well, whenever i try to build the project i get the error message...
Compiling: main.cpp
/bin/sh: g++: command not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings

sorry, but i don't think i can be any more specific than that......

Jenna

You should learn to read (and understand) compiler messages.

And of course you can be more specific: always post your C::B version, your OS (and version) and compiler (and version) if you run in such troubles.
Do you think we have the second sight ?

In your case you will (most likely) not be able to give us the g++ version, because you did not install a c++-compiler.

The compiler-message is clear:
Quote from: monkeyboy199271 on August 09, 2010, 05:46:24 AM
/bin/sh: g++: command not found

simonrodan

I have run into a similar issue and would appreciate some help:


-------------- Build: Debug in devtime ---------------

Compiling: main.cpp
/bin/bash: g++ -Wall -fexceptions  -g  -fopenmp -Wno-return-type  -Wno-deprecated   -I/home/simon/workspace/srlib/include  -c /home/simon/workspace/devtime/main.cpp -o obj/Debug/main.o: No such file or directory
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings

Both /home/simon/workspace/srlib/include and /home/simon/workspace/devtime/main.cpp exist. g++ is where it's supposed to be in /usr/bin

The IDE has been working fine until for several years - until today. 

OS is Ubuntu 12.04, 64 bit.
Codeblocks is 12.05 Build May 11
Compiler is g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3


stahta01

Google says http://tldp.org/LDP/abs/html/exitcodes.html

Quote"command not found"

Verify g++ is installed!

The below command on command line should do it.

g++ -v


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]