nwesem / mtcnn_facenet_cpp_tensorRT

Face Recognition on NVIDIA Jetson (Nano) using TensorRT
GNU General Public License v3.0
200 stars 72 forks source link

trt_norm build error #22

Open jhanvi55 opened 3 years ago

jhanvi55 commented 3 years ago

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.

AleenahK commented 2 years ago

Hi,

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

Regards

gangchynt commented 2 years ago

I have the same issue too

dangbuiii commented 1 year ago

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