2003-11-28 21:50:02 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
< html lang = "en" >
< head >
2005-07-22 22:53:05 +00:00
< 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" >
2009-06-16 21:38:17 +00:00
< 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 >
2003-11-28 21:50:02 +00:00
< / head >
< body >
2007-06-19 19:34:42 +00:00
< h1 > Building a project< / h1 >
2009-06-16 21:38:17 +00:00
2007-06-19 19:34:42 +00:00
< p > The make output and build progress information displays in the
2007-06-23 00:38:32 +00:00
Console view. The Make Targets view displays makefile actions, and the
2005-07-22 22:53:05 +00:00
Tasks view displays compile warnings or errors.< / p >
2007-06-19 19:34:42 +00:00
< p > To build a project:< / p >
2003-11-28 21:50:02 +00:00
< ol >
2010-03-31 01:34:27 +00:00
< li > In the < strong > Project Explorer< / strong > view, select your project. For the tutorial, you can select the < strong > HelloWorld< / strong > project you created earlier. < p > < br > < / p > < / li >
< li > Click < strong > Project > Build Project< / strong > .
< br > You can also hit the hammer icon < img src = "../images/hammer-icon.png" alt = "build icon" > on the toolbar.
2009-06-16 21:38:17 +00:00
< / li >
< p > If you see an error message, such as:< / p >
< p > < samp > (Cannot run program "make": Launching failed)< / samp > < / p >
2005-07-22 22:53:05 +00:00
< p > then CDT cannot locate the build command, usually < samp > make< / samp > .
2007-06-19 19:34:42 +00:00
Either your path is not configured correctly, or you do not have < samp > make< / samp >
2005-07-22 22:53:05 +00:00
installed on your system.< / p >
2010-03-31 01:34:27 +00:00
< li > You can see the output and results of the build command in the < strong > Console< / strong > view.
2009-06-16 21:38:17 +00:00
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 >
2003-11-28 21:50:02 +00:00
< / ol >
2005-07-22 22:53:05 +00:00
< p > < img border = "0" src = "../images/ngconcepts.gif" alt = "Related concepts"
width="143" height="21">
2003-11-28 21:50:02 +00:00
< br >
< a href = "../concepts/cdt_c_projects.htm" > CDT Projects< / a > < br >
2005-07-22 22:53:05 +00:00
< 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">
2003-11-28 21:50:02 +00:00
< br >
2008-07-24 17:25:00 +00:00
< a href = "../tasks/cdt_o_build_task.htm" > Building projects< / a > < br >
2005-07-22 22:53:05 +00:00
< / p >
< p > < img border = "0" src = "../images/ngref.gif" alt = "Related reference"
width="143" height="21">
2003-11-28 21:50:02 +00:00
< br >
2005-07-22 22:53:05 +00:00
< a href = "../reference/cdt_u_newproj_buildset.htm" > Make Builder page,
C/C++ Properties window< / a > < br >
< / p >
2003-11-28 21:50:02 +00:00
< p > < a href = "cdt_w_debug.htm" >
2010-03-31 01:34:27 +00:00
< img border = "0" src = "../images/ngnext.gif" width = "16" height = "16" alt = "Next icon" > < / a > < strong > < a
href="cdt_w_debug.htm">Next: Debugging a project< / a > < / strong > < / p >
2003-11-28 21:50:02 +00:00
< p align = "left" > < a href = "cdt_w_newmake.htm" >
2010-03-31 01:34:27 +00:00
< img border = "0" src = "../images/ngback.gif" width = "16" height = "16" alt = "Previous icon" > < / a > < strong > < a
href="cdt_w_newmake.htm">Back: Creating a makefile< / a > < / strong > < / p >
2003-11-28 21:50:02 +00:00
< p >
2007-06-19 19:34:42 +00:00
< img src = "../images/ng00_04a.gif" alt = "QNX Copyright Statement" > < / p >
2003-11-28 21:50:02 +00:00
< / body >
2005-07-22 22:53:05 +00:00
< / html >