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