Skip to content

Compiling and Testing

Elizabeth Mamantov edited this page Apr 7, 2014 · 3 revisions

Note that RoboGrams will only run on an x86 processor because of the inline assembly.

How to Compile RoboGrams as a Library

In the robograms/ directory, type
make
This will produce a sub-folder, robograms/out/, containing robograms.so.

How to Run the Test Program

In the robograms/ directory, type
make test
This will compile RoboGrams and run the included test program. The expected output is a vertical sine wave of asterisks, plus information about the message pools used in the program.

Using Windows

RoboGrams has been used on Windows, but the current build system has only been tested on Linux. To build on Windows, you will definitely need to uncomment this line in RoboGrams.h to enable the correct style of inline assembly. There may be other small compiler differences that require minor edits.

Clone this wiki locally