Previous Next
Building the executable

    Note
    SNiFF+ doesn't have its own compiler therefore you must have a compiler installed on your computer to compile SNiFF+ projects. By default, the gnu compiler is specified on Unix and Microsoft Developer is specified on Windows. If you are using another compiler, it must be specified in your Platform Makefile. For more information, see User's Guide -- Build and Make Support.

In the Project Editor
Before building, make sure that the projects' Make Support information is up-to-date. Makefiles should be updated whenever structural changes are made to the projects, or when projects are first opened in a new working environment.

  1. Make sure that all the projects in the Project Tree are checkmarked. If they are not, right- click anywhere in the Project Tree and choose Context menu > Select from All Projects. This command allows you to checkmark all projects in one step.
  2. Choose Target > Update Makefiles to generate the Make Support Files for all the projects.
    A dialog appears asking you whether the dependencies information should also be updated.
  3. Press Yes.
    SNiFF+ generates the Make Support Files and stores them in the
    .sniffdir subdirectory of each project directory.
  4. Highlight pico.shared by clicking on its name.
    SNiFF+ needs to know where to start Make execution. You tell SNiFF+ this by selecting the appropriate project. In the example project, Make execution starts in
    pico.shared .
  5. Choose Target > Make > all to recursively build the executable.
    A Shell opens, in which the
    make all command is recursively executed. Upon completion, you should have an executable named pico on Unix and pico.exe on Windows in:
    <PICO_DIR>/team/sowe/pico
  6. Run the executable to assure yourself that it executes properly.
What's next
  • Close the project in the SOWE.

In the Launch Pad
  1. Select pico.shared - SOWE:Pico SOWE .
  2. Choose Project > Close Project pico.shared.
The next tutorial introduces you to
  • Developing in a team