tensorrtx icon indicating copy to clipboard operation
tensorrtx copied to clipboard

error: member function declared with "override" does not override a base class member

Open qustions opened this issue 3 years ago • 2 comments

Hello @wwqgtxx I am running arcface after running cmake .. I am running make and getting this error

/tensorrtx/arcface/prelu.h(31): error: member function declared with "override" does not override a base class member
/tensorrtx/arcface/prelu.h(64): error: exception specification for virtual function "nvinfer1::PReluPlugin::detachFromContext" is incompatible with that of overridden function "nvinfer1::IPluginV2Ext::detachFromContext"

qustions avatar Jul 02 '22 12:07 qustions

Can you try tensorrt7.x?

wang-xinyu avatar Jul 04 '22 03:07 wang-xinyu

I don't have tensorrt7 but i think the issue we need to add noexcept override as mention in yolov5

qustions avatar Jul 04 '22 13:07 qustions

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 02 '22 21:09 stale[bot]