User forums > Help
Ubuntu 13.04, codeblocks would not compile.
vasilenko93:
I have installed build-essential, gdb, ibwxgtk2.8-0, and codeblocks from software center with all the add-ons.
But get this when I make a new console program and just build the default Hello World.
rmollenkamp:
I have this exact same problem. I cannot get the program to compile
Jenna:
Dou you have g++ installed ?
I'm not sure it is a dependency of the build-essential package.
Jenna:
--- Quote from: jens on August 19, 2013, 06:10:06 am ---Dou you have g++ installed ?
I'm not sure it is a dependency of the build-essential package.
--- End quote ---
I just checked it, it is indeed a dependency, so please post the full error message from the build log, not tthe build messages.
And please use cut and paste and not a screenshot and put the text in code-tags (reachable via the #-button in the forums editor).
vasilenko93:
I went into Environment settings and tried changing "Shell to run commands with:" to /bin/bash. Here is the result after I clicked build.
--- Code: ---
-------------- Build: Debug in testProject (compiler: GNU GCC Compiler)---------------
g++ -Wall -fexceptions -g -c /home/USER_NAME/Programing/testProject/main.cpp -o obj/Debug/main.o
/bin/bash: g++ -Wall -fexceptions -g -c /home/USER_NAME/Programming/testProject/main.cpp -o obj/Debug/main.o: No such file or directory
Process terminated with status 127 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
--- End code ---
Same thing happens with the default /bin/sh.
--- Code: ---
-------------- Build: Debug in testProject (compiler: GNU GCC Compiler)---------------
g++ -Wall -fexceptions -g -c /home/USER_NAME/Programing/testProject/main.cpp -o obj/Debug/main.o
/bin/sh: 0: Can't open g++ -Wall -fexceptions -g -c /home/USER_NAME/Programming/testProject/main.cpp -o obj/Debug/main.o
Process terminated with status 127 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
--- End code ---
I tried clicking both Debug and Release, with both shell programs. Still shows this error message.
Navigation
[0] Message Index
[#] Next page
Go to full version