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.
Note that SNiFF+ needs to know where to start Make execution. You tell SNiFF+ this by highlighting the appropriate project. In the example project, Make execution starts in
pico.shared , where you specified the project's executable. So:

  1. In the Project Tree, make sure pico.shared is highlighted.
  2. Select from all projects by right-clicking anywhere in the Project Tree and choosing Context menu > Select From All Projects.
  3. Choose Target > Update Makefiles.
    A dialog appears asking you whether the dependencies information should also be updated.

    Click for full size, then use Back button

  4. Press Yes.
  5. Choose Target > Make > all.
    A Shell Tool appears, and at the end of the build it should look similar to this:

    Click for full size, then use Back button

    If compiler errors are reported in the shell at this stage, something went wrong with the setup of the project's C Make attributes. We recommend that you go through the steps in this tutorial again, carefully check them, compare screenshots, and try compiling again.