Code::Blocks Forums

User forums => Help => Topic started by: tobye on September 12, 2014, 04:12:14 am

Title: Won't build
Post by: tobye on September 12, 2014, 04:12:14 am
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
Title: Re: Won't build
Post by: Jenna on September 12, 2014, 07:24:54 am
Just read the error-message.
It's obvious isn't it ?

Just install a c++-compiler (g++) !!
Title: Re: Won't build
Post by: darksquall57 on September 15, 2014, 09:08:38 am
Basically, install build-essential :

sudo apt-get install build-essential