Skip to content
Salvo Virga edited this page Jun 17, 2019 · 7 revisions

Linux/OSX Installation from Source

Install dependencies

Install Flatbuffers

git clone https://github.com/google/flatbuffers.git
cd flatbuffers && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j8 install # This might require sudo.

Install ZeroMQ

git clone https://github.com/zeromq/libzmq.git
cd libzmq && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CURVE=OFF -DZMQ_BUILD_TESTS=OFF ..
make -j8 install # This might require sudo.

Why that -DENABLE_CURVE=OFF? Have a look in here.

Install cppzmq

git clone https://github.com/zeromq/cppzmq.git
cd cppzmq && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j8 install # This might require sudo.

Build S.I.M.P.L.E

git clone https://github.com/IFL-CAMP/simple.git
cd simple && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j8 install # This might require sudo.

Options

You can add the following option to the cmake call to also build examples and tests:
-DSIMPLE_BUILD_EXAMPLES=ON -DSIMPLE_BUILD_TESTS=ON