Eclipse June CDT reports g++ not found in path
, how to fix this?
Typically, g++ will be installed when gcc (GNU Compiler Collection) is installed. First confirm that you have g++ installed.
You can check this by typing the following in a terminal: which g++. The response ought to be /usr/bin/g++.
If you find g++ installed, in eclipse go to project->properties->C/C++ Build->Discovery Options, under tools GCC C++ Compiler, put the exact path to g++ instead of g++ (if g++ alone does not work).
You will find this link useful: What is the difference between g++ and gcc?
If you still have problems, do get back with feedback.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With