This quick start manual is intended for C/C++ developers who are interested in developing Mbed TLS-based projects in Eclipse C/C++ Development Tool (CDT) on Windows.
Software versions used in this tutorial
- Eclipse C/C++ Development Tool (CDT) Juno SR1.
- Cygwin packages:
- C compiler:
- C++ compiler:
- GNU Debugger:
- Make utility:
- C compiler:
Your experience may differ based on the software versions you use.
Install Cygwin or MinGW
We recommend Cygwin, so this tutorial doesn't cover the MinGW installation. For more on MinGW, look at Compiling Mbed TLS in MinGW.
Download and install Cygwin by following the first three steps in the tutorial. Make sure that you select
makepackages under the
Devel(Development) category, since these packages are not part of the default installation.
C:\cygwin\binto your PATH Environment Variables.
If you want to check if all needed packages are installed, run the Cygwin Terminal and type
Install Eclipse C/C++ Development Tool (CDT)
You can either download and install a new version of Eclipse CDT, or extend the existing Eclipse for Java Developers on your system with a CDT plugin.
Option 1: Clean Eclipse CDT install:
* Download Eclipse IDE for C/C++ Developers and unzip the downloaded file into a directory of your choice.
eclipse.exe inside the directory.
Option 2: Extend an existing Eclipse for Java Developers installation:
* Launch Eclipse.
* Go to Help > Install New Software.
* In "Work with", enter the CDT update site
http://download.eclipse.org/tools/cdt/releases/juno (for Eclipse Juno only) > Add > Enter a name (such as CDT 8.1.0) > Select all the "CDT main features".
* You may select optional features.
* Click Finish.
* Restart Eclipse after the plugin installation is finished.