In file included from /usr/include/c++/5/cstdint:35:0,
from /data3/xxxx/TensorRT-7.2.1.6/include/NvInferRuntimeCommon.h:54,
from /data3/xxxx/TensorRT-7.2.1.6/include/NvInferRuntime.h:59,
from /data3/xxxx/TensorRT-7.2.1.6/include/NvInfer.h:53,
from /data3/xxxx/work/TensorRT-Scaled-YOLOv4/mishplugin/../include/mish.h:4,
from /data3/xxxx/work/TensorRT-Scaled-YOLOv4/mishplugin/mishkernel.cu:1:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
error This file requires compiler and library support \
cuda 11.1 tensorRT 7.2.1.6 ubuntu 1604
在 TensorRT-Scaled-YOLOv4 中编译出错
In file included from /usr/include/c++/5/cstdint:35:0, from /data3/xxxx/TensorRT-7.2.1.6/include/NvInferRuntimeCommon.h:54, from /data3/xxxx/TensorRT-7.2.1.6/include/NvInferRuntime.h:59, from /data3/xxxx/TensorRT-7.2.1.6/include/NvInfer.h:53, from /data3/xxxx/work/TensorRT-Scaled-YOLOv4/mishplugin/../include/mish.h:4, from /data3/xxxx/work/TensorRT-Scaled-YOLOv4/mishplugin/mishkernel.cu:1: /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
error This file requires compiler and library support \
^ mishplugin/CMakeFiles/Mish_plugin.dir/build.make:62: recipe for target 'mishplugin/CMakeFiles/Mish_plugin.dir/mishkernel.cu.o' failed make[2]: *** [mishplugin/CMakeFiles/Mish_plugin.dir/mishkernel.cu.o] Error 1