yolov5_caffe
yolov5_caffe copied to clipboard
The problem about C++11 when make all -j8
when I make all -j8,the problem as:
tools/caffe_yolov5s.cpp:246:5: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat]
Net
ubuntu:18.04 cuda:10.0 cudnn:7.6.5 caffe: 1.0 OpenCV:3.4.2 Anaconda3:5.2.0
i have met this problem as well , have you solved it?
when I make all -j8,the problem as: tools/caffe_yolov5s.cpp:246:5: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] Net caffe_net(prototxt_path, caffe::TEST, 0, nullptr); ^ tools/caffe_yolov5s.cpp: In function 'std::vector initAnchors()': tools/caffe_yolov5s.cpp:62:13: error: 'class std::vector' has no member named 'emplace_back' anchors.emplace_back(anchor);
ubuntu:18.04 cuda:10.0 cudnn:7.6.5 caffe: 1.0 OpenCV:3.4.2 Anaconda3:5.2.0
I also met this problem. Has it been solved