This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Compile Bluetoth mesh examples using Cmake returns error

When trying to follow this guide for testing bluetooth mesh on a nRF51 dev-board Cmake returns this error:

../build $ cmake ..
CMake Error at CMakeLists.txt:16 (include_directories): include_directories given empty-string as include directory.

CMake Error at CMakeLists.txt:33 (message):

-- Configuring incomplete, errors occurred!
See also "/home/sarita/Documents/nRF5_SDK_Mesh_v0.9.2-Alpha/examples/light_control/client/CMakeFiles/CMakeOutput.log".

I am building on linux using Cmake version 3.7.2.

What am i doing wrong? I have no previous experience using Cmake, so it might be something trivial.

Related