Building a QNX project

From the launch bar, you can build a project based on a certain launch mode (i.e., user goal).

Note: The IDE automatically builds the project when you launch it, so you need to perform these steps only if you want to build without launching. You could do this to see if the project builds successfully or to generate a debug version of the binary that's needed by a runtime analysis tool that you intend to run later.
To build a QNX project:
  1. In the launch bar, click the button for the Launch Configuration dropdown, which is the middle dropdown:
    Image of launch bar, which contains three control buttons and three dropdowns, with the middle dropdown defining the Launch Configuration
  2. Select the entry for the project that you're building.
    This selection tells the IDE how to build and launch the project. The details of building are controlled by the build configuration.
  3. Click the button for the Launch Mode dropdown, which is the leftmost dropdown:
    Image of launch bar, which contains three control buttons and three dropdowns, with the left dropdown defining the Launch Mode
  4. Select the launch mode based on your user goal (i.e., whether you intend to later run the application, debug it, or profile it).
    With default project settings, the launch mode determines which version of the binary gets built.
  5. Click the Build button (Icon: Build button) to start the build.

The IDE attempts to build the project and displays the build output in the Console window at the bottom. If the build succeeds, you'll see the binary files listed in the Binaries folder under the project area in the Project Explorer.

The Problems window shows any errors (in red) and warnings (in yellow) from the build. You can double-click an error line to open the header or source code file at the line that caused the error.