Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding a C/C++ nature to an Eclipse project

Tags:

c

eclipse

project

Does anybody know how to add a C/C++ project nature to an Eclipse project through the UI ? I'm importing a project and working with legacy code that was originally started in Visual Studio 4 and I'd really like to be able to make as much use of Eclipse's helpers as possible.

like image 674
Alex Marshall Avatar asked Aug 24 '09 15:08

Alex Marshall


People also ask

What is Project nature in eclipse?

Project Natures in Eclipse Project Natures are used in the Eclipse IDE in order to configure projects in the workspace. One project may have several project natures. The most popular project nature is org.eclipse.jdt.core.javanature , which is used to indicate that a project is a Java project.

How do I set up C C++ on Eclipse in Windows?

Launch Eclipse → Help → Install New Software → In "Work with" field, pull down the drop-down menu and select "Kepler - http://download.eclipse.org/releases/kepler" (or juno for Eclipse 4.2; or helios for Eclipse 3.7). In "Name" box, expand "Programming Language" node ⇒ Check "C/C++ Development Tools" ⇒ "Next" ⇒ ...

How do I get C in eclipse?

In Eclipse, go to the "File" menu, then "New", then "C++ Project" if it's there. If not, choose "Project", then find "C/C++" in the list of wizards, click the "+" sign to expand it, and choose "C++ Project". A dialog box will ask whether to open the C/C++ perspective. Answer "yes", and remember this decision.

Is Eclipse good for C programming?

Eclipse is a popular open-source IDE that you can use to develop C++ applications using Eclipse's C/C++ development tools. This IDE is multiplatform and can run on Windows, Linux, and macOS. It will allow you to debug and compile your code as well as get auto-completion for your code while editing.


1 Answers

Assuming you've got the CDT plugin installed

Right-click on the project.

Select: New -> Other

Under C/C++, select "Convert to a C/C++ project"

like image 101
Glen Avatar answered Sep 20 '22 23:09

Glen