Issue
I am using Eclipse IDE for Java Developers Version 2018-12 (4.10.0) and have installed CDT (I verified this by going to installation details).
However, when I go to
File -> New -> Project -> C++ Project the project types are missing, and I am not able to create a new C++ project. How can I fix this?
Solution
What I did:
- Downloaded eclipse-java-2018-12-R-win32-x86_64
- Unzipped.
- Ran
- Created new workspace (didn't want to risk blowing up my existing install)
- Navigated Help->Install New Software.
- Selected All Available Sites and waited for list to update.
- Expanded Programming Languages
- Selected C/C++ Development Tools
- Clicked Next
- Clicked Next
- Read and Accepted License
- Clicked Finish
- Clicked Restart Now when it popped up.
C++ was not a New Project option, so
- Changed to C++ perspective
C++ Project options now visible Hello World compiled and ran.
Caveats:
I have a fully functional MinGW install with GCC 7.3 installed. (Cripes. Getting out of date. Should update)
I'm running Windows. Not sure how well (other than the obviously wrong link) this will work on a *nix box.
This is a minimal install. You may need Autotools, LLVM, or remote debugger support. Start with the simple stuff though. Get a Hello World project up and running, then add additional packages as your needs require.
Answered By - user4581301
Answer Checked By - Dawn Plyler (JavaFixing Volunteer)