Eclipse display a problem with C++

From Klaus' wiki
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