For building programs in any programming language, a proper setup usually IDE(Integrated Development Environment) is required. But for doing C++ Development an IDE is not enough as C++ is a Compiled language that first needs to be compiled to byte code so as to be executed on a Machine.
Regarding development of C++ on Mac, you need two things an IDE and a compiler usually gcc or g++. In this article, I will discuss How to setup Eclipse IDE on Mac for doing C++ development.
So far I’ve written a lot of C++ code and Eclipse is the only IDE which I’ve found to be supper easy to use on Mac for debugging/compiling C++ code.
Table of Contents
Setting Up Eclipse on Mac for C++ Development
- Download Eclipse IDE for C/C++ Developers
- Open Eclipse dmg package downloaded from their website
- Follow the instructions and once Eclipse is installed an Eclipse IDE Launcher Window will show up
- Just Select the Workspace location where you want to store C++ Projects files
- Then head over to Help -> Eclipse Marketplace -> Search for “Eclipse Embedded C/C++” and click Install. This will install and activate all necessary Utilities(Like Compiler) required for C++ Development
- That’s it, now just click on File -> New -> Project and Click on Project
- After clicking on project, a window with title “New Project” will pop up from there under C/C++ section select C++ Project and then click on Next.
- Now a window titled “C++ Project” will show up, there enter Project Name. Select Location of Project
- Project Type(either Empty Project or Hello World C++ Project)
- Always select Toolchains as MacOSX GCC
- Click Finish
- Finally a C++ Project have been created in Eclipse
Below I’ve explained each of 9 steps for setting up Eclipse on Mac for C++ Development with images
- Download Eclipse IDE for C/C++ Developers

- Open Eclipse dmg package downloaded from their website
- Follow the instructions and once Eclipse is installed an Eclipse IDE Launcher Window will show up

- Just Select the Workspace location where you want to store C++ Projects files

- Then head over to Help -> Eclipse Marketplace -> Search for “Eclipse Embedded C/C++” and click Install. This will install and activate all necessary Utilities(Like Compiler) required for C++ Development

- That’s it, now just click on File -> New -> Project and Click on Project

- After clicking on project, a window with title “New Project” will pop up from there under C/C++ section select C++ Project and then click on Next.

- Now a window titled “C++ Project” will show up, there enter Project Name.
- Select Location of Project
- Project Type(either Empty Project or Hello World C++ Project)
- Always select Toolchains as MacOSX GCC
- Click Finish

- Finally a C++ Project have been created in Eclipse

Final Thoughts
Setting up Eclipse IDE on MAC for doing C++ Development is super easy, as I’ve explained above. But if in case you encounter any issue during installing and setup of Eclipse on Mac for doing C++ Development, then please let me know in comments below. I’ll try to reply as soon as possible.
No Comments
Leave a comment Cancel