when make all, the error happened as following:
/usr/local/include/opencv2/core/cvdef.h:440:4: error: "OpenCV 4.x+ requires enabled C++11 support"
change Makefile line 420(if you are using the newest caffe)
CXXFLAGS += -MMD -MP
to
CXXFLAGS += -MMD -MP -std=c++11
Also consider changing the NVCCFLAGS if nvcc complains.
Most helpful comment
change Makefile line 420(if you are using the newest caffe)
CXXFLAGS += -MMD -MP
to
CXXFLAGS += -MMD -MP -std=c++11
Also consider changing the NVCCFLAGS if nvcc complains.