You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to build this project on a Jetson Nano. CMake completes without warnings or errors, but when I run make -j${nproc} I receive the following errors:
`$ make -j${nproc}
[ 7%] Building NVCC (Device) object trt_l2norm_helper/CMakeFiles/trt_l2norm_helper.dir/trt_l2norm_helper_generated_l2norm_helper.cu.o
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(52): error: member function declared with "override" does not override a base class member
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(52): warning: function "nvinfer1::IPluginV2::enqueue(int32_t, const void *const *, void *const *, void *, cudaStream_t)" is hidden by "L2NormHelper::enqueue" -- virtual function override intended?
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(73): error: exception specification for virtual function "L2NormHelper::configureWithFormat" is incompatible with that of overridden function "nvinfer1::IPluginV2::configureWithFormat"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(71): error: exception specification for virtual function "L2NormHelper::getPluginNamespace" is incompatible with that of overridden function "nvinfer1::IPluginV2::getPluginNamespace"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(69): error: exception specification for virtual function "L2NormHelper::setPluginNamespace" is incompatible with that of overridden function "nvinfer1::IPluginV2::setPluginNamespace"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(67): error: exception specification for virtual function "L2NormHelper::clone" is incompatible with that of overridden function "nvinfer1::IPluginV2::clone"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(65): error: exception specification for virtual function "L2NormHelper::destroy" is incompatible with that of overridden function "nvinfer1::IPluginV2::destroy"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(63): error: exception specification for virtual function "L2NormHelper::getPluginVersion" is incompatible with that of overridden function "nvinfer1::IPluginV2::getPluginVersion"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(61): error: exception specification for virtual function "L2NormHelper::getPluginType" is incompatible with that of overridden function "nvinfer1::IPluginV2::getPluginType"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(59): error: exception specification for virtual function "L2NormHelper::supportsFormat" is incompatible with that of overridden function "nvinfer1::IPluginV2::supportsFormat"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(57): error: exception specification for virtual function "L2NormHelper::serialize" is incompatible with that of overridden function "nvinfer1::IPluginV2::serialize"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(55): error: exception specification for virtual function "L2NormHelper::getSerializationSize" is incompatible with that of overridden function "nvinfer1::IPluginV2::getSerializationSize"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(50): error: exception specification for virtual function "L2NormHelper::getWorkspaceSize" is incompatible with that of overridden function "nvinfer1::IPluginV2::getWorkspaceSize"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(48): error: exception specification for virtual function "L2NormHelper::terminate" is incompatible with that of overridden function "nvinfer1::IPluginV2::terminate"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(46): error: exception specification for virtual function "L2NormHelper::initialize" is incompatible with that of overridden function "nvinfer1::IPluginV2::initialize"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(44): error: exception specification for virtual function "L2NormHelper::getOutputDimensions" is incompatible with that of overridden function "nvinfer1::IPluginV2::getOutputDimensions"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(42): error: exception specification for virtual function "L2NormHelper::getNbOutputs" is incompatible with that of overridden function "nvinfer1::IPluginV2::getNbOutputs"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(104): error: exception specification for virtual function "L2NormHelperPluginCreator::deserializePlugin" is incompatible with that of overridden function "nvinfer1::IPluginCreator::deserializePlugin"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(102): error: exception specification for virtual function "L2NormHelperPluginCreator::createPlugin" is incompatible with that of overridden function "nvinfer1::IPluginCreator::createPlugin"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(100): error: exception specification for virtual function "L2NormHelperPluginCreator::getFieldNames" is incompatible with that of overridden function "nvinfer1::IPluginCreator::getFieldNames"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(98): error: exception specification for virtual function "L2NormHelperPluginCreator::getPluginNamespace" is incompatible with that of overridden function "nvinfer1::IPluginCreator::getPluginNamespace"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(96): error: exception specification for virtual function "L2NormHelperPluginCreator::setPluginNamespace" is incompatible with that of overridden function "nvinfer1::IPluginCreator::setPluginNamespace"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(94): error: exception specification for virtual function "L2NormHelperPluginCreator::getPluginVersion" is incompatible with that of overridden function "nvinfer1::IPluginCreator::getPluginVersion"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(92): error: exception specification for virtual function "L2NormHelperPluginCreator::getPluginName" is incompatible with that of overridden function "nvinfer1::IPluginCreator::getPluginName"
23 errors detected in the compilation of "/tmp/tmpxft_000033fe_00000000-8_l2norm_helper.compute_72.cpp1.ii".
CMake Error at trt_l2norm_helper_generated_l2norm_helper.cu.o.Release.cmake:279 (message):
Error generating file
/home/marc/src/facialRecognition/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:306: 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:122: 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
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
`
Any help you could provide would be appreciated.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm attempting to build this project on a Jetson Nano. CMake completes without warnings or errors, but when I run make -j${nproc} I receive the following errors:
`$ make -j${nproc}
[ 7%] Building NVCC (Device) object trt_l2norm_helper/CMakeFiles/trt_l2norm_helper.dir/trt_l2norm_helper_generated_l2norm_helper.cu.o
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(52): error: member function declared with "override" does not override a base class member
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(52): warning: function "nvinfer1::IPluginV2::enqueue(int32_t, const void *const *, void *const *, void *, cudaStream_t)" is hidden by "L2NormHelper::enqueue" -- virtual function override intended?
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(73): error: exception specification for virtual function "L2NormHelper::configureWithFormat" is incompatible with that of overridden function "nvinfer1::IPluginV2::configureWithFormat"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(71): error: exception specification for virtual function "L2NormHelper::getPluginNamespace" is incompatible with that of overridden function "nvinfer1::IPluginV2::getPluginNamespace"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(69): error: exception specification for virtual function "L2NormHelper::setPluginNamespace" is incompatible with that of overridden function "nvinfer1::IPluginV2::setPluginNamespace"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(67): error: exception specification for virtual function "L2NormHelper::clone" is incompatible with that of overridden function "nvinfer1::IPluginV2::clone"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(65): error: exception specification for virtual function "L2NormHelper::destroy" is incompatible with that of overridden function "nvinfer1::IPluginV2::destroy"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(63): error: exception specification for virtual function "L2NormHelper::getPluginVersion" is incompatible with that of overridden function "nvinfer1::IPluginV2::getPluginVersion"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(61): error: exception specification for virtual function "L2NormHelper::getPluginType" is incompatible with that of overridden function "nvinfer1::IPluginV2::getPluginType"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(59): error: exception specification for virtual function "L2NormHelper::supportsFormat" is incompatible with that of overridden function "nvinfer1::IPluginV2::supportsFormat"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(57): error: exception specification for virtual function "L2NormHelper::serialize" is incompatible with that of overridden function "nvinfer1::IPluginV2::serialize"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(55): error: exception specification for virtual function "L2NormHelper::getSerializationSize" is incompatible with that of overridden function "nvinfer1::IPluginV2::getSerializationSize"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(50): error: exception specification for virtual function "L2NormHelper::getWorkspaceSize" is incompatible with that of overridden function "nvinfer1::IPluginV2::getWorkspaceSize"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(48): error: exception specification for virtual function "L2NormHelper::terminate" is incompatible with that of overridden function "nvinfer1::IPluginV2::terminate"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(46): error: exception specification for virtual function "L2NormHelper::initialize" is incompatible with that of overridden function "nvinfer1::IPluginV2::initialize"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(44): error: exception specification for virtual function "L2NormHelper::getOutputDimensions" is incompatible with that of overridden function "nvinfer1::IPluginV2::getOutputDimensions"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(42): error: exception specification for virtual function "L2NormHelper::getNbOutputs" is incompatible with that of overridden function "nvinfer1::IPluginV2::getNbOutputs"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(104): error: exception specification for virtual function "L2NormHelperPluginCreator::deserializePlugin" is incompatible with that of overridden function "nvinfer1::IPluginCreator::deserializePlugin"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(102): error: exception specification for virtual function "L2NormHelperPluginCreator::createPlugin" is incompatible with that of overridden function "nvinfer1::IPluginCreator::createPlugin"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(100): error: exception specification for virtual function "L2NormHelperPluginCreator::getFieldNames" is incompatible with that of overridden function "nvinfer1::IPluginCreator::getFieldNames"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(98): error: exception specification for virtual function "L2NormHelperPluginCreator::getPluginNamespace" is incompatible with that of overridden function "nvinfer1::IPluginCreator::getPluginNamespace"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(96): error: exception specification for virtual function "L2NormHelperPluginCreator::setPluginNamespace" is incompatible with that of overridden function "nvinfer1::IPluginCreator::setPluginNamespace"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(94): error: exception specification for virtual function "L2NormHelperPluginCreator::getPluginVersion" is incompatible with that of overridden function "nvinfer1::IPluginCreator::getPluginVersion"
/home/marc/src/facialRecognition/mtcnn_facenet_cpp_tensorRT/trt_l2norm_helper/l2norm_helper.h(92): error: exception specification for virtual function "L2NormHelperPluginCreator::getPluginName" is incompatible with that of overridden function "nvinfer1::IPluginCreator::getPluginName"
23 errors detected in the compilation of "/tmp/tmpxft_000033fe_00000000-8_l2norm_helper.compute_72.cpp1.ii".
CMake Error at trt_l2norm_helper_generated_l2norm_helper.cu.o.Release.cmake:279 (message):
Error generating file
/home/marc/src/facialRecognition/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:306: 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:122: 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
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
`
Any help you could provide would be appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: