Compartilhar via


Build Error Debugging Process (Windows Embedded CE 6.0)

1/5/2010

In Platform Builder, during the build process, you might occasionally encounter build warnings, errors, or status messages. These messages are typically stored in log files in your %_WINCEROOT% directory, called Build.log, Build.wrn, and Build.err.

You might encounter many types of build errors during the run-time image development process. Different methods of resolving these errors exist, and typically require knowledge of the Platform Builder build system.

For information about the build system; see Build System.

For information about warnings and errors that you might encounter, see Error Messages.

The most common types of build errors are linker and compiler errors. For example, if you encounter a linker error during the build because an application calls the function printf when it is not included in your OS design, you have two options for resolving this problem:

  • Modify the application to not call the function.
  • Modify the OS design so that the function is supported. To do this, determine the functionality your OS design requires to support the function.

For more information, see Debugging a Linker Build Error.

Build messages typically use the following format.

BUILD: [NN:SSSSSSSSSS:TTTTTT] Message

Remarks

  • NN
    In multi-threaded builds, this specifies the ID of the thread in which the error occurred.
  • SS
    Sequence number of the build message. This number increases with each build message.
  • TT
    Type of message.

    Message Description

    ERRORI

    Error detected by Build.exe.

    ERRORE

    Error detected by an external program, such as Link.exe or Cl.exe.

    WARNS

    Serious warning detected by Build.exe.

    WARNN

    'Normal' warning detected by Build.exe or an external program.

    PROG

    Progress.

    PROGC

    Console progress.

    INFO

    Informational message.

See Also

Concepts

Run-Time Image Build Process
Build System

Other Resources