我已经在Ubuntu 16.04上使用cmake 3.11.0编译了dlib 19.10并启用了CUDA 9.1.它进展顺利,没有任何问题!
这里输出的运行 cmake ..
-- The C compiler identification is GNU 5.4.1
-- The CXX compiler identification is GNU 5.4.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ …Run Code Online (Sandbox Code Playgroud)