cwzx/nngpp

Compilation on Ubuntu16

Opened this issue · 0 comments

pptz commented

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