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 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:
cd [root-directory-of-your-project] cmake . cmake --build ./
You could try:
CmakeCache.txt
and re-run cmake ..
; check the output carefully for potential issues during this step, missing libraries etc.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With