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

Windows Installation from Source

Install dependencies

Install Flatbuffer

  1. git clone https://github.com/google/flatbuffers.git
  2. Create a build folder wherever you prefer.
  3. From the CMake GUI, select flatbuffers folder as source and the build folder as the destination.
    Hit Configure and select the right generator for your machine.
    E.g. "Visual Studio 14 2015 Win64" or "Visual Studio 15 2017 Win64"
  4. Open the VS solution that was generated in that folder.
    You need to run Visual Studio as Admin!
  5. Select Release as build type.
    Build the BUILD_ALL project and then the INSTALL project.

All you need should be installed in C:/Program Files/Flatbuffers/.

You can specify another install directory changing the CMAKE_INSTALL_PREFIX variable.

Install ZeroMQ

  1. git clone https://github.com/zeromq/libzmq.git
  2. Create a build folder wherever you prefer.
  3. From the CMake GUI, select libzmq folder as source and the build folder as the destination.
    Hit Configure and select the right generator for your machine.
    E.g. "Visual Studio 14 2015 Win64" or "Visual Studio 15 2017 Win64"
  4. Disable ZeroMQ option ENABLE_CURVE (i.e. -DENABLE_CURVE=OFF).
    Why that? Have a look in here.
  5. Configure and Generate.
  6. Open the VS solution that was generated in that folder.
    You need to run Visual Studio as Admin!
  7. Select Release as build type.
    Build the BUILD_ALL project and then the INSTALL project.

All you need should be installed in C:/Program Files/ZeroMQ/.

You can specify another install directory changing the CMAKE_INSTALL_PREFIX variable.

Install cppzmq

  1. git clone https://github.com/zeromq/cppzmq.git
  2. Create a build folder wherever you prefer.
  3. From the CMake GUI, select cppzmq folder as source and the build folder as the destination.
    Hit Configure and select the right generator for your machine.
    E.g. "Visual Studio 14 2015 Win64" or "Visual Studio 15 2017 Win64"
  4. Configure and Generate.
  5. Open the VS solution that was generated in that folder.
    You need to run Visual Studio as Admin!
  6. Select Release as build type.
    Build the BUILD_ALL project and then the INSTALL project.

All you need should be installed in C:/Program Files/cppzmq/.

You can specify another install directory changing the CMAKE_INSTALL_PREFIX variable.

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

  1. git clone https://github.com/IFL-CAMP/simple.git
  2. Create a build folder wherever you prefer.
  3. From the CMake GUI, select simple folder as source and the build folder as the destination.
    Hit Configure and select the right generator for your machine.
    E.g. "Visual Studio 14 2015 Win64" or "Visual Studio 15 2017 Win64".
    Flatbuffers, ZeroMQ and cppzmq should be automatically found.
  4. Press Configure until everything is not red, then Generate.
  5. Open the VS solution that was generated in that folder.
    You need to run Visual Studio as Admin!
  6. Build the BUILD_ALL project and then the INSTALL project.

SIMPLE should be installed in C:/Program Files/simple/.

You can specify another install directory changing the CMAKE_INSTALL_PREFIX variable.