Skip to content

Examples

Toby Schneider edited this page May 26, 2016 · 2 revisions

Goby provides a number of examples that are stored in either

  • goby/share/examples (built from source locally)
  • /usr/share/goby/examples (libgoby2-dev Ubuntu/Debian package)
  • /usr/local/share/goby/examples (make install)

If your examples are in folders requiring root permissions (e.g. /usr/local/share/) you may wish to copy the examples to your home folder first.

cp -r /usr/local/share/goby/examples ~/goby-examples

Then, to build these examples you will need Goby (obviously) and CMake. Go into the examples directory and type

cmake .
make

to compile the examples.

A listing and source code for these examples is provided as part of the developers' documentation at http://gobysoft.com/doc/2.0/examples.html