mtcnn_facenet_cpp_tensorRT icon indicating copy to clipboard operation
mtcnn_facenet_cpp_tensorRT copied to clipboard

trt_norm build error

Open jhanvi55 opened this issue 5 years ago • 3 comments

I'm trying to build and it shows the following error

In file included from /usr/include/c++/5/cstdint:35:0, from /usr/include/x86_64-linux-gnu/NvInferRuntimeCommon.h:54, from /usr/include/x86_64-linux-gnu/NvInferRuntime.h:59, from /usr/include/x86_64-linux-gnu/NvInfer.h:53, from /usr/include/x86_64-linux-gnu/NvInferPlugin.h:53, from /mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h:3, from /mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.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
^ CMake Error at trt_l2norm_helper_generated_l2norm_helper.cu.o.Release.cmake:220 (message): Error generating /mtcnn_facenet_cpp_tensorRT/build/trt_l2norm_helper/CMakeFiles/trt_l2norm_helper.dir//./trt_l2norm_helper_generated_l2norm_helper.cu.o

trt_l2norm_helper/CMakeFiles/trt_l2norm_helper.dir/build.make:82: recipe for target 'trt_l2norm_helper/CMakeFiles/trt_l2norm_helper.dir/trt_l2norm_helper_generated_l2norm_helper.cu.o' failed make[2]: *** [trt_l2norm_helper/CMakeFiles/trt_l2norm_helper.dir/trt_l2norm_helper_generated_l2norm_helper.cu.o] Error 1 CMakeFiles/Makefile2:141: recipe for target 'trt_l2norm_helper/CMakeFiles/trt_l2norm_helper.dir/all' failed make[1]: *** [trt_l2norm_helper/CMakeFiles/trt_l2norm_helper.dir/all] Error 2

Please help what to do next.

jhanvi55 avatar Nov 25 '20 06:11 jhanvi55

Hi,

I have encountered the same issue. Were you able to find a solution?

Regards

AleenahK avatar Nov 08 '21 00:11 AleenahK

I have the same issue too

gangchynt avatar May 18 '22 08:05 gangchynt

Anyone fix this issue ? i have the same issue and dont know how to fix this :(

dangbuiii avatar Jul 20 '22 08:07 dangbuiii