Code::Blocks Forums

User forums => Help => Topic started by: peikingd on April 03, 2009, 03:18:38 pm

Title: g++: not found
Post by: peikingd on April 03, 2009, 03:18:38 pm
I am a new user of Code::Blocks having just installed it on my Linux(Ubuntu) PC and I hope to use it to program in C. However whatever the program I try and build I get this error(see below). I have tried reinstalling and have confirmed I do have the gcc compiler installed on my computer.

Would really appreciate any help,
Thanks

-------------- Build: Debug in C++ ---------------

Compiling: main.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings
 
Title: Re: g++: not found
Post by: Jenna on April 03, 2009, 03:26:23 pm
I have tried reinstalling and have confirmed I do have the gcc compiler installed on my computer.

Do you also have g++ installed ?
In most distros it's in an extra package.

Title: Re: g++: not found
Post by: peikingd on April 03, 2009, 04:37:15 pm
Thanks very much!  :P