Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  17] [ 0]  / answers: 1 / hits: 45396  / 3 Years ago, thu, may 27, 2021, 7:49:12

Recently I have installed Code::Blocks IDE on my Ubuntu 12.10. The following error appears when I try to run or compile any code written in there:



Compiling: /home/sabbir/first.cpp
/bin/sh: 1: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings


How can I solve this problem?


More From » compiling

 Answers
7

Most likely you are simply missing a compiler.



Get one by installing build-essential package.



Typing sudo apt-get install build-essential into terminal is one of the easiest ways to achieve that.


[#34462] Friday, May 28, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
heaco

Total Points: 479
Total Questions: 124
Total Answers: 114

Location: Lesotho
Member since Sat, Oct 1, 2022
2 Years ago
;