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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     2
<html lang="en">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
<head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
  <meta http-equiv="Content-Language" content="en-us">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
  <title>Building your project</title>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
  <link rel="stylesheet" type="text/css" href="../help.css">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
  <script language="JavaScript">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
function newWin(url) {
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
	window.open(url, 'install_cdt', 'width=750, height=700, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
}
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
</script>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
<body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
<h1>Building a project</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
<p>The make output and build progress information displays in the
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
Console view. The Make Targets view displays makefile actions, and the
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
Tasks view displays compile warnings or errors.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
<p>To build a project:</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
<ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
  <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>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
  <li>Click <b>Project &gt; Build Project</b>.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
  <br>You can also hit the hammer icon <img src="../images/hammer-icon.png"> on the toolbar.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
  </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
  <p>If you see an error message, such as:</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
   <p><samp>&nbsp;&nbsp;&nbsp;(Cannot run program "make": Launching failed)</samp></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
  <p>then CDT cannot locate the build command, usually <samp>make</samp>.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
Either your path is not configured correctly, or you do not have <samp>make</samp>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
installed on your system.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
<li>You can see the output and results of the build command in the <b>Console</b> view.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
Click on its tab to bring the view forward if it is not currently visible.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
If for some reason it's not present, you can open it by selecting Window > Show View > Console.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
<p> <br> 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
<a href="javascript:void(0)" onClick="newWin('../images/cdt_w_newmake03.png')">Click here to see an illustration (displayed in a separate window)
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
</a>.</p> 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
</ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
<p><img border="0" src="../images/ngconcepts.gif" alt="Related concepts"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
 width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
<a href="../concepts/cdt_c_build_over.htm">Build overview</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
<p><img border="0" src="../images/ngtasks.gif" alt="Related tasks"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
 width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
<a href="../tasks/cdt_o_build_task.htm">Building projects</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
<p><img border="0" src="../images/ngref.gif" alt="Related reference"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    54
 width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    55
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    56
<a href="../reference/cdt_u_newproj_buildset.htm">Make Builder page,
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    57
C/C++ Properties window</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    58
</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    59
<p> <a href="cdt_w_debug.htm">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    60
<img border="0" src="../images/ngnext.gif" width="16" height="16" alt="Next icon"></a> <b><a
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    61
 href="cdt_w_debug.htm">Next: Debugging a project</a></b></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    62
<p align="left"> <a href="cdt_w_newmake.htm">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    63
<img border="0" src="../images/ngback.gif" width="16" height="16" alt="Previous icon"></a> <b><a
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    64
 href="cdt_w_newmake.htm">Back: Creating a makefile</a></b></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    65
<p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    66
<img src="../images/ng00_04a.gif" alt="QNX Copyright Statement"></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    67
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    68
</html>