Ubuntu – No C++ option after install Eclipse CDT

eclipse

I used terminal to install eclipse with jdk7, and now I want to incorporate C/C++ development, so I installed a compiler (gcc 4.7) and and eclipse cdt plugin from the terminal:
sudo apt-get install eclipse-cdt

But when I restarted eclipse and tried to change the perspective, there was no c++ option I cannot even create a new C++ project. Someone suggested that I do "Install New Software" and choose the cdt from the hard drive. If this is what I should do, where does terminal install its files to?

Best Answer

I had similar problem before but with Java, the problem was fixed by doing

   eclipse -clean &

as it refreshes your workspace.

If it didn't work, you can try deleting workspace if it doesn't contain any valuable data and firing the above command again.