User forums > Help

g++: not found

(1/1)

peikingd:
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
 

Jenna:

--- Quote from: peikingd on April 03, 2009, 03:18:38 pm ---I have tried reinstalling and have confirmed I do have the gcc compiler installed on my computer.

--- End quote ---

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

peikingd:
Thanks very much!  :P

Navigation

[0] Message Index

Go to full version