How to configure Dlib with Visual Studio 2013 without CMake?

All you have to do is create an empty console project. Then add dlib / all / source.cpp to it and add the folder containing the dlib folder to the #include search path. Then you can compile any sample program by adding it to your project.

Again, note that dlib can only work with jpeg and png files if you link to libjpeg and libpng. In Visual Studio, the easiest way to do this is to add all the source files in the dlib / external folder to your project, as well as define the preprocessor directives DLIB_PNG_SUPPORT and DLIB_JPEG_SUPPORT . If you do not know how to configure Visual Studio, then you should use CMake, as shown above, since it will automatically take care of everything.

  • But you will get less help according to these descriptions. Even worse, this document is only for Visual Studio 2010, but I want to configure Dlib in version 2013. So, how to configure without CMake?
+1
source share

All Articles