11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Building projectsNow that the project is created and set up, it's time to build it. Un<strong>for</strong>tunately, there aresome deliberate errors in the program which we need to correct.Building the projectTo buld the project, do the following:•From the Project menu, click Build.—or—•On the Build tool bar, click the Build tool button.—or—•Type F7.Alternatively, to build the Tutorial project using a context menu, do the following:•In the Project Explorer, right click the Tutorial project node.•Select Build from the context menu.CrossStudio starts compiling the project files but finishes after detecting an error. TheOutput Window shows the Build Log which contains the errors found in the project:Correcting compilation and linkage errorsCrossStudio compiled fact.c without errors, but main.c contains two errors. Aftercompilation, CrossStudio moves the cursor to the line containing the first reportederror. As well as this, the line is marked in the gutter and highlighted by underlining itred. (You can change this behaviour using the Environment Options dialog.)The status bar also updates to indicate two build errors and shows the first errormessage.Chapter 2Building projects21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!