Show Contents

# Build a project

Follow these steps to build a project and manage compile errors:

1. Select the project in the Project Explorer view.
2. Right-click the project name and select Build project from the context menu. You can also use the Build Active Configuration toolbar button.
3. The build process is launched. Output messages appear in the Console view:

- Warnings are highlighted in yellow and errors in red. You can double-click the line in the Console view to go to the line with the notification.
- All notifications are also listed in the Problems view.
- In the editor, the source code lines containing errors are underlined in red while lines with warnings are underlined in yellow.

4. Review the build result. Depending on the type of application project, the build result is stored in different directories:
   1. Makefile projects. The build output is usually in the project root, although it depends on the provided makefile.
   2. Managed makefile projects. The build output is saved inside the Debug or Release subdirectories of the project, depending on the current active configuration.
   3. Autotools project. The build output is usually in the src project directory, although it depends on the provided configuration.

To select the active configuration for your project, see Change the active build configuration.

Note For more information, visit the "C/C++ Development User Guide" at http://help.eclipse.org/index.jsp.

© 2018 Digi International Inc. All rights reserved.
Build a project updated on 22 January 2018 02:43:38 PM