I am trying to build Dlib 19.0 examples. I did
cd examples
mkdir build
cd build
cmake ..
cmake --build
to get exe now,
cmake --build
from the examples directory.
CMake throws: Error: could not load cache
Screenshot:
I am trying to build Dlib 19.0 examples. I did
cd examples
mkdir build
cd build
cmake ..
cmake --build
to get exe now,
cmake --build
from the examples directory.
CMake throws: Error: could not load cache
Screenshot:
You could try:
CmakeCache.txt
and re-runcmake ..
; check the output carefully for potential issues during this step, missing libraries etc.I guess you didn't configure your project.
You first need to run
cmake .
at the project root to generate build files. You can also run it from an empty directory to separate source and build files.Then you can use
cmake --build ./
in the build dir.Or, if you prefer code-only: