Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: monkeyboy199271 on August 09, 2010, 03:59:36 am
-
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....
-
not enough information about your problem, you should follow the FAQ.
FAQ - CodeBlocks (http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F)
-
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......
-
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:
/bin/sh: g++: command not found
-
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
-
Google says http://tldp.org/LDP/abs/html/exitcodes.html (http://tldp.org/LDP/abs/html/exitcodes.html)
"command not found"
Verify g++ is installed!
The below command on command line should do it.
Tim S.