carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/getting_started/cdt_w_build.htm
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html lang="en">
<head>
  <meta http-equiv="Content-Language" content="en-us">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Building your project</title>
  <link rel="stylesheet" type="text/css" href="../help.css">
  <script language="JavaScript">
function newWin(url) {
	window.open(url, 'install_cdt', 'width=750, height=700, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
}
</script>
</head>
<body>
<h1>Building a project</h1>

<p>The make output and build progress information displays in the
Console view. The Make Targets view displays makefile actions, and the
Tasks view displays compile warnings or errors.</p>
<p>To build a project:</p>
<ol>
  <li>In the <b>Project Explorer</b> view, select your project. For the tutorial, you can   select the <b>HelloWorld</b> project you created earlier. <p><br></p></li>
  <li>Click <b>Project &gt; Build Project</b>.
  <br>You can also hit the hammer icon <img src="../images/hammer-icon.png"> on the toolbar.
  </li>
  <p>If you see an error message, such as:</p>
   <p><samp>&nbsp;&nbsp;&nbsp;(Cannot run program "make": Launching failed)</samp></p>
  <p>then CDT cannot locate the build command, usually <samp>make</samp>.
Either your path is not configured correctly, or you do not have <samp>make</samp>
installed on your system.</p>
<li>You can see the output and results of the build command in the <b>Console</b> view.
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.
<p> <br> 
<a href="javascript:void(0)" onClick="newWin('../images/cdt_w_newmake03.png')">Click here to see an illustration (displayed in a separate window)
</a>.</p> 



</li>
</ol>
<p><img border="0" src="../images/ngconcepts.gif" alt="Related concepts"
 width="143" height="21">
<br>
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
<a href="../concepts/cdt_c_build_over.htm">Build overview</a><br>
</p>
<p><img border="0" src="../images/ngtasks.gif" alt="Related tasks"
 width="143" height="21">
<br>
<a href="../tasks/cdt_o_build_task.htm">Building projects</a><br>
</p>
<p><img border="0" src="../images/ngref.gif" alt="Related reference"
 width="143" height="21">
<br>
<a href="../reference/cdt_u_newproj_buildset.htm">Make Builder page,
C/C++ Properties window</a><br>
</p>
<p> <a href="cdt_w_debug.htm">
<img border="0" src="../images/ngnext.gif" width="16" height="16" alt="Next icon"></a> <b><a
 href="cdt_w_debug.htm">Next: Debugging a project</a></b></p>
<p align="left"> <a href="cdt_w_newmake.htm">
<img border="0" src="../images/ngback.gif" width="16" height="16" alt="Previous icon"></a> <b><a
 href="cdt_w_newmake.htm">Back: Creating a makefile</a></b></p>
<p>
<img src="../images/ng00_04a.gif" alt="QNX Copyright Statement"></p>
</body>
</html>