Skip to content
Salvo Virga edited this page Sep 22, 2018 · 12 revisions

Home

Build / Install

Building simple from source is... simple!

Here are the steps to do so, including the necessary dependencies, just be sure to have:

  • a C++11 compiler (gcc 5+, clang 3.8+, VS2015+)
  • CMake 3.3+

Build on Windows
Build on Linux / OSX


Usage

CMake

You can add simple to your project via CMake:

find_package(simple REQUIRED)      
target_link_libraries(YourTargetName simple::simple)

YourTargetName would be any library or executable that you previously defined.
That is everything you need!

Windows Users

A static version of simple is also provided, we recommend Windows users to use it!

find_package(simple REQUIRED)         
target_link_libraries(YourTargetName simple::simple-static)      

Such that you won't need to copy around any dll file.

Examples

We provide some examples on how to send/receive data using simple. You can build the examples turning the corresponding CMake flag SIMPLE_BUILD_EXAMPLES.

Publisher / Subscriber
Request / Reply

simple_msgs

Messages that can be sent / received using simple are created on top of FlatBuffers messages.
Every class generated by the Flatbuffers compiler is wrapped around a thin interface (see the simple_msgs Headers).

Some common messages are already provided and live under simple_msgs:

Stamped messages contain the base data plus a Header.

New messages can be created and used just like the ones provided, as long as they are compliant to the same interface. Feel free to request new message types!

Create your own messages

TBW


Contacts

simple has been developed by the
Chair for Computer Aided Medical Procedures
Technical University of Munich, Germany.
TUM

Salvatore Virga : salvo.virga@tum.de
Fernanda Levy Langsch : fernanda.langsch@tum.de

Clone this wiki locally