CMake throws Error: could not load cache
<p>I am trying to build <a href="http://dlib.net/release_notes.html" rel="noreferrer">Dlib 19.0</a> examples. I did </p>

<pre><code>cd examples
mkdir build
cd build
cmake ..
cmake --build 
</code></pre>

<p>to get exe now,
<code>cmake --build</code>  from the examples directory.</p>

<p>CMake throws: <code>Error: could not load cache</code></p>

<p>Screenshot:</p>

<p><a href="https://i.stack.imgur.com/ovOHf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ovOHf.png" alt="enter image description here"></a></p>