title: Third party library with Visual Studio
body: <p>I wanted to use dlibc [<a href="http://dlib.net/]" rel="nofollow noreferrer">http://dlib.net/]</a> in Visual studio. 
  I build the dlibc for visual studio according to guide: [<a href="https://github.com/davisking/dlib]" rel="nofollow noreferrer">https://github.com/davisking/dlib]</a></p>
  
  <pre><code>C:\libraries\dlib-19.8\build&gt;cmake -G "Visual Studio 14 2015 Win64" -T host=x64 ..
  -- Enabling SSE2 instructions
  -- Searching for BLAS and LAPACK
  -- Searching for BLAS and LAPACK
  -- Found Intel MKL BLAS/LAPACK library
  -- C++11 activated.
  -- Configuring done
  -- Generating done
  -- Build files have been written to: C:/libraries/dlib-19.8/build
  </code></pre>
  
  <p>and the project builds successfully and generates following a set of files.</p>
  
  <pre><code> &lt;DIR&gt;          .
   &lt;DIR&gt;          ..
           24,010 ALL_BUILD.vcxproj
              282 ALL_BUILD.vcxproj.filters
   &lt;DIR&gt;          CMakeFiles
            5,358 cmake_install.cmake
   &lt;DIR&gt;          config
            1,254 config.h
              226 dlib-1.pc
            4,121 dlib.sln
           55,910 dlib.vcxproj
           18,285 dlib.vcxproj.filters
           11,676 INSTALL.vcxproj
              519 INSTALL.vcxproj.filters
   &lt;DIR&gt;          neon_test_build
              129 revision.h
  </code></pre>
  
  <p>Now I'm wondering how to use it as I could not see any include directories or any dll or lib file. If I add any header files in a C++ console project like</p>
  
  <pre><code>#include &lt;dlib/bayes_utils.h&gt;
  #include &lt;dlib/graph_utils.h&gt;
  </code></pre>
  
  <p>it comes with red wiggles meaning file not found.</p>
  
  <p>I'm very new to visual studio IDE.</p>
  
  <p><strong>Update 1: Still Fails</strong></p>
  
  <p>I opened the dlib.sln file with VS and build the install configuration. It got success with message like this:</p>
  
  <pre><code>  -- Install configuration: "Debug"
    -- Installing: C:/Program Files/Project/lib/dlib.lib
  </code></pre>
  
  <p>then I added C:/Program Files/Project/include/dlib/; in Additional include directories of project settings and tried to run a sample code <a href="http://dlib.net/bayes_net_ex.cpp.html" rel="nofollow noreferrer">http://dlib.net/bayes_net_ex.cpp.html</a> but still the red wiggles are there. </p>