Author Topic: Won't build  (Read 3113 times)

tobye

  • Guest
Won't build
« 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Won't build
« Reply #1 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++) !!

Offline darksquall57

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: Won't build
« Reply #2 on: September 15, 2014, 09:08:38 am »
Basically, install build-essential :

sudo apt-get install build-essential