Eclipse display a problem with C++

From Klaus' wiki
Revision as of 07:53, 28 August 2018 by Klaus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

On new virtual machines when you try to develop a C program Eclipse flags an error that it cannot find the C++ compiler.

You can fix it by opening a console i.e. Yakuake (Alt+F12) and install the C++ compiler.

On the commandline issue this command

]$ sudo yum install gcc-c++

Give your password and answer y to the question following and the gcc-c++ compiler will be installed.

Install gcc-c++.png