Previous Next
Compiling

  1. In the Source Editor, choose Target > Make > all.
    A Shell Tool appears and SNiFF+ tries to compile the modified file.
    The error is reported in the Shell Tool.
  2. In the Shell tool, click on the reported error (highlighted in the illustration) and choose
    Edit > Show Error.

    Click for full size, then use Back button

    The Source Editor is opened at the detected error, and the error line is highlighted. To uncomment the line that induced the detected error:

  1. Click into the line you commented out earlier and choose Edit > Uncomment.
  2. For the changes to take effect, choose File > Save.
  3. Choose Target > Make > all again to re-compile.
  4. Close the Shell tool and the Source Editor.
Conclusion (Windows only)
This concludes the Edit/Compile/Debug tutorial. In this part of the C Tutorial you were introduced to:
  • Setting Make attributes for a C project

  • Building a SNiFF+ project and all the subprojects that it depends on

  • Using the Shell tool to jump to errors in source files

In the tutorial we can only give you a few hints and tips to help you on your way. To get a better understanding of how to edit and compile projects in SNiFF+, we recommend experimenting. To really appreciate what SNiFF+ can do for you, you really need to work with it.
In the Launch Pad
  1. Close all open SNiFF+ tools except for the Launch Pad.
  2. In the Launch Pad, close the pico.shared project by highlighting it and choosing
    Project > Close Project pico.shared.
What's next
The only SNiFF+ tool that should now be open is the Launch Pad.
The next part of the C tutorial introduces you to
  • Using SNiFF+ for multi-user team projects

Please skip the next chapter and continue with Key Concepts.