There are a number of C/C++ IDEs that can be used for working on the Udacity SDCND C++ projects. This blog post contains a few tips for using Eclipse CDT to solve the Extended Kalman Filter project.
- Get Eclipse CDT. Either by downloading and installing it from the Eclipse Website or by using the setup from my last post.
- Checkout the project from github
- invoke cmake .. -DCMAKE_BUILD_TYPE=Debug invoke cmake .. -G “Eclipse CDT4 – Unix Makefiles” (in contrast to the documentation, I compile with debug)
- This creates a .cproject and .project in the build directory. Copy those one level higher.
- Import the project as existing project in Eclipse.
- I usually compile / run from the command line. Open a shell directly from Eclipse
- To run your code from within Eclipse or to debug from within Eclipse, use the context menu.
- Debug mode will stop in “main()”, to disable this. Click on the settings for your debug configuration:
Goto the debugger tab and disable the option: