Series
Guide
compile
1 | git clone https://github.com/davisking/dlib.git |
with options
CMAKE_INSTALL_PREFIX /usr/local
CUDA 9.2 + cuDNN 7.1.4
generate
Found CUDA: /usr/local/cuda (found suitable version "9.2", minimum required is "7.5")
Looking for cuDNN install...
Found cuDNN: /usr/local/cuda/lib64/libcudnn.so
Building a CUDA test project to see if your compiler is compatible with CUDA...
Checking if you have the right version of cuDNN installed.
Enabling CUDA support for dlib. DLIB WILL USE CUDA
C++11 activated.
make and install
1 | make -j8 |
output
[100%] Linking CXX static library libdlib.a
[100%] Built target dlib
generate static library
libdlib.a
CMakeLists.txt
1 | find_package(dlib REQUIRED) |
Reference
History
- 20181127: created.