Building a project

The make output and build progress information displays in the Console view. The Make Targets view displays makefile actions, and the Problems view displays compile warnings or errors.

To build a project:

  1. In the Project Explorer view, select your project. For the tutorial, you can select the HelloWorld project you created earlier.

  2. Click Project > Build Project, or click the build icon build icon on the toolbar.

    If you see an error message, such as:

       (Cannot run program "make": Launching failed)

    then CDT cannot locate the build command, usually make. Either your path is not configured correctly, or you do not have make installed on your system.

  3. You can see in the Console view the output and results of the build command. Click on its tab to bring the view forward if it is not currently visible. If for some reason it's not present, you can open it by selecting Window > Show View > Console.

    Console view in C/C++ Perspective

Related concepts
CDT Projects
Build overview

Related tasks
Building projects

Related reference
Make Builder page, C/C++ Properties window

Next icon Next: Debugging a project

Previous icon Back: Creating a makefile

QNX Copyright Statement