C: Installation instructions (modified for this version!)

C: Installation instructions (modified for this version!)

Graphlib comes with the complete CodeWarrior project and can be used immediately in code warrior (project created in CW 7.0). GCC users will have to extract the essential files listed below and create the project if they wish to reproduce the demo.

Extract the archive to a directory (preferably called graphlib). You should find the following files in the directory hierarchy. (there are other files that would be particular to CW)

Essential files (found in the Src directory)

  • gr.c -- the main GraphLib API source file
  • grlib.h -- the accompanying header file
  • fill.h -- header file used in gr.c for patterns

    Test application files(found in the Src directory)

  • app.c -- the test application source file.

    GCC users cannot compile from the resources to recreate the demo. To test graphlib it is recommended you create your own forms (.rcp) and compile these source files.

    a ready .PRC file that you can upload and see as demo is also included - you can try it on POSE or on the handheld.

    Using the test application

    Notes -app.c is a test application file you can look at to tinker with cases and see how graph creation is done. Specifically see the routine DoGraph() that contains the comments and code on how the API's are used. If you manage to get the application compiled and running, it will the same as the demo you saw in enclosed .PRC file.

  • Alphabetic index



    This page was generated with the help of DOC++.