News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Won't build

Started by tobye, September 12, 2014, 04:12:14 AM

Previous topic - Next topic

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