User forums > Using Code::Blocks

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

(1/2) > >>

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:
not enough information about your problem, you should follow the FAQ.
FAQ - CodeBlocks

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

--- End quote ---

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

Navigation

[0] Message Index

[#] Next page

Go to full version