User forums > Help

Won't build

(1/1)

tobye:
I recently installed the most recent version of Code Blocks on my Ubuntu 14.04 computer. However it will not build, when I try to build a program I get the following output in the Build Log

-------------- Build: Debug in Why (compiler: GNU GCC Compiler)---------------

g++ -Wall -fexceptions -std=c++11 -g -std=c++0x -Wall  -c /home/tobye04/Desktop/Why/main.cpp -o obj/Debug/main.o
/bin/sh: 1: g++: not found
Process terminated with status 127 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 
Please help

Jenna:
Just read the error-message.
It's obvious isn't it ?

Just install a c++-compiler (g++) !!

darksquall57:
Basically, install build-essential :

sudo apt-get install build-essential

Navigation

[0] Message Index

Go to full version