when I build the program(C) using CodeBlocks there is this thing
/bin/sh: 1: g++: not found
What to do?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED] g++: not found
-
- Posts: 21
- Joined: 2018-09-30 12:46
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
-
- Posts: 21
- Joined: 2018-09-30 12:46
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: g++: not found
Debian has a metapackage that will install g++ plus whatever else you need for standard gcc compiling, call "build-essential".
Hmm, codeblocks doesn't install it by default, and g++ is only an alternative to gcc, too.
Hmm, codeblocks doesn't install it by default, and g++ is only an alternative to gcc, too.
Code: Select all
Recommends: gcc | g++, gdb, xterm
Suggests: libwxgtk3.0-dev, codeblocks-contrib
MX Linux packager and developer
-
- Posts: 21
- Joined: 2018-09-30 12:46
Re: [SOLVED] g++: not found
Thank You for Help.
I actually solved this using the following code
first logging in as root using
then entering root password
and
I had to log in as root because I got message "Username is not in the sudoers file.."
NOTE:Fisrt try
If you don't get the message "Username is not in the sudoers file.." then work's done
Otherwise login as Root
I actually solved this using the following code
first logging in as root using
Code: Select all
su
and
Code: Select all
apt-get install g++
NOTE:Fisrt try
Code: Select all
sudo apt-get install g++
Otherwise login as Root