问题1:This file requires compiler and library support for the ISO C++ 2011 standard.
解决方法:在Makefile中加入
CXXFLAGS += -MMD -MP -std=c++11
NVCCFLAGS += -std=c++11
问题2:/usr/bin/ld: warning: libjpeg.so.9, needed by /home/w/anaconda2/lib/libopencv_imgcodecs.so, not found (try using -rpath or -rpath-link)
解决方法:在 Makefile.config 中,加入
LINKFLAGS := -Wl,-rpath,$(anaconda)/lib
问题3:CUDA driver version is insufficient for CUDA runtime version
解决方法:降低cudnn的版本到7.0.5