Before building a project, ensure that the project uses the right build configuration. The name of the active configuration is appended to the project name in the Project Explorer view:

If required, set a different active build configuration. Find the details in Setting the active build configuration.
(Build) button on the toolbar. When the build starts, all steps and the final status are reported in the Console view. To resolve possible build errors, refer to Resolving build problems.