|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|
2 <html> |
|
3 <head> |
|
4 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
|
5 <meta http-equiv="Content-Style-Type" content="text/css" /> |
|
6 <meta name="LASTUPDATED" content="06/17/05 11:09:43" /> |
|
7 <title>Building the DLL Project Tutorial</title> |
|
8 <link rel="StyleSheet" href="../../../book.css" type="text/css"/> |
|
9 </head> |
|
10 <body bgcolor="#FFFFFF"> |
|
11 <h2>Building the DLL Project Tutorial</h2> |
|
12 <p>In this example we show how to create a project for a DLL (Dynamic Linked Library) using one of the built-in Carbide templates, how to build it into an executable, and how to launch the debugger to verify program accuracy. The steps to do this include:</p> |
|
13 <ol> |
|
14 <li><a href="new_proj_from_template_01.htm">Creating</a> a DLL project from a project template</li> |
|
15 <li><strong>Building the DLL object code based on the project sources</strong></li> |
|
16 <li><a href="new_proj_dll_example_03.htm">Debugging</a> the DLL using the Carbide debugger</li> |
|
17 </ol> |
|
18 <hr> |
|
19 <p>Building a DLL is just like <a href="new_proj_from_template_02.htm">building</a> any other executable.</p> |
|
20 <div class="step"> |
|
21 <h4>Building the DLL project</h4> |
|
22 <ol> |
|
23 <li>Select the project to build in the Project Explorer view.</li> |
|
24 <li>Build the project using one of these actions: |
|
25 <div align="left"> |
|
26 <ul> |
|
27 <li>Right-click the project in the Project Explorer view and choose Build Project.</li> |
|
28 <li>Click the Run > Build Project menu option.</li> |
|
29 <li>Click the Build (<img src="../images/icon_build_project.png" alt="Build Project icon" width="17" height="17" align="absmiddle">) icon in the toolbar to build the project. </li> |
|
30 </ul> |
|
31 </li> |
|
32 <li>Verifying a successful project build <br /> |
|
33 </li> |
|
34 </ol> |
|
35 <blockquote> |
|
36 <p>Once compiling is complete use the <a href="../../reference/view_cpp_projects.htm">Project Explorer</a>, <a href="PLUGINS_ROOT//org.eclipse.cdt.doc.user/reference/cdt_u_problems_view.htm">Problems</a>, <a href="../../reference/view_log.htm">Console</a>, and <a href="../../reference/view_executables.htm">Executables</a> views to locate and resolve any problems generated during the build. See Step 2 <a href="new_proj_from_template_02.htm">here</a> for more details.</p> |
|
37 <p><img src="../images/dll_build_project.png" alt="Project Explorer showing DLL project" width="257" height="281"></p> |
|
38 </blockquote> |
|
39 </div> |
|
40 <h4><strong>NEXT STEP</strong> > <a href="new_proj_from_template_03.htm">Defining</a> a launch configuration for running or debugging the DLL</h4> |
|
41 <h4>Other references</h4> |
|
42 <ul> |
|
43 <li><a href="new_proj_dll_example_00.htm">Creating and Debugging DLL Projects Tutorial</a></li> |
|
44 </ul> |
|
45 <div id="footer">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div> |
|
46 |
|
47 </body> |
|
48 </html> |