Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 28508  / 1 Year ago, thu, december 1, 2022, 7:09:21

I installed the newest Eclipse Juno manually (not through software center nor apt-get), and then install Eclipse CDT from the help > install new software menu.



However, when I try to compile a simple C++ code it show errors like Program "g++" not found in PATH.



I tried g++ from terminal and it worked just fine. Anyone know where the problem might be?


More From » 12.04

 Answers
7

You should install the build-essential



sudo apt-get install build-essential



after installing this, open a terminal, and type
g++ (hit enter)
if it says there is no input, then you got your g++



even after you installed this, you could still have problems with eclipse cdt
so I really recommend Netbeans, click here.



All you need to do is download Netbeans to your computer, say it's in your Download folder



sudo chmod +x your_download_netbeans.sh



then
./your_download_netbeans.sh



Because you already installed Eclipse on you computer, so I think you've already got jdk installed.


[#36378] Friday, December 2, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aveerakfas

Total Points: 106
Total Questions: 148
Total Answers: 129

Location: Monaco
Member since Sun, Jan 1, 2023
1 Year ago
;