Technical: Java
Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Title



Previous Section Table of Contents Next Section



Step 12 - Building the Application

Now that all of the project sources are completed and the image resources and project settings are configured properly, we are ready to build the application.

To compile all of the sources, choose Make from the Project menu or use the Command key equivalent— <Command-M>.

Build Dialog

You will see a build progress dialog similar to the one shown above. This dialog shows the status of the build operation including the name of the file being compiled, and the number errors or warnings encountered.

If you have any build errors, you will see a dialog that looks like the picture below. This dialog will list all of the errors found by the compiler. At the top of the window is a stop icon that shows the number of errors. The alert icon shows the number of warnings.

Compile Error Window

The pane at the top shows all of the errors and warnings in the file. If you select an error from this list by clicking on the message, the bottom panel will show the line of code where the error appears.

The picture illustrates two errors caused by a missing clipping. In this example, our code references the variable label1, but the code where that data member is declared is missing.

If you encounter compile errors, compare your modified skeleton source file with the completed source file in the sources (completed) folder. You must eliminate any compile errors before going to the next step.


Back to top



Previous Section Table of Contents Next Section



[an error occurred while processing this directive]