If you are using visual studio, you do not need to use make files. You can create your project in the same way as usual. Then, to use dlib, all you have to do is add dlib / all / source.cpp to your project and add the folder containing the dlib folder to your search path. If you use only BOBYQA, you don’t even need to add dlib / all / source.cpp.
, , , CMake. . , , dlib examples/optim_ex.cpp, , BOBYQA, cmake :
cd examples
mkdir build
cd build
cmake ..
, . dlib. CMakeLists.txt , , .