We are using dlib 19.13, the libraries are pre-built for convenience, they were built using the following commands For win 64 bit cmake -G "Visual Studio 14 2015 Win64" -DDLIB_JPEG_SUPPORT=0 -DDLIB_PNG_SUPPORT=0 -DDLIB_NO_GUI_SUPPORT=1 -DDLIB_ISO_CPP_ONLY=0 -DENABLE_ASSERTS=0 -DCMAKE_INSTALL_PREFIX=install .. cmake --build . --config Debug --target INSTALL cmake --build . --config Release --target INSTALL For win 32 bit cmake -G "Visual Studio 14 2015" -DDLIB_JPEG_SUPPORT=0 -DDLIB_PNG_SUPPORT=0 -DDLIB_NO_GUI_SUPPORT=1 -DDLIB_ISO_CPP_ONLY=0 -DENABLE_ASSERTS=0 -DCMAKE_INSTALL_PREFIX=install .. cmake --build . --config Debug --target INSTALL cmake --build . --config Release --target INSTALL Afterwards move the built libs to the right location "lib" folder and rename them accordingly