Author Topic: g++: not found  (Read 3682 times)

peikingd

  • Guest
g++: not found
« 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
 

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: g++: not found
« Reply #1 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.


peikingd

  • Guest
Re: g++: not found
« Reply #2 on: April 03, 2009, 04:37:15 pm »
Thanks very much!  :P