I wanted to use dlibc [http://dlib.net/] in Visual studio. I build the dlibc for visual studio according to guide: [https://github.com/davisking/dlib]
C:\libraries\dlib-19.8\build>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
and the project builds successfully and generates following a set of files.
<DIR> .
<DIR> ..
24,010 ALL_BUILD.vcxproj
282 ALL_BUILD.vcxproj.filters
<DIR> CMakeFiles
5,358 cmake_install.cmake
<DIR> 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
<DIR> neon_test_build
129 revision.h
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
#include <dlib/bayes_utils.h>
#include <dlib/graph_utils.h>
it comes with red wiggles meaning file not found.
I'm very new to visual studio IDE.
Update 1: Still Fails
I opened the dlib.sln file with VS and build the install configuration. It got success with message like this:
-- Install configuration: "Debug"
-- Installing: C:/Program Files/Project/lib/dlib.lib
then I added C:/Program Files/Project/include/dlib/; in Additional include directories of project settings and tried to run a sample code http://dlib.net/bayes_net_ex.cpp.html but still the red wiggles are there.