cwzx / nngpp

C++ wrapper around the nanomsg NNG API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation on Ubuntu16

pptz opened this issue · comments

Not sure what tools' versions are relevant here, but on Ubuntu 16 I had to make the following changes in order to build the demos:

  1. add two lines to CmakeLists.txt:
    set(THREADS_PREFER_PTHREAD_FLAG ON)
    find_package(Threads REQUIRED)

  2. Add #include <utility> to source files that use std::move