tensorRTWrapper icon indicating copy to clipboard operation
tensorRTWrapper copied to clipboard

some build troble

Open ghost opened this issue 6 years ago • 5 comments

when i make it,it`s fail. tensorRTWrapper/code/include/PluginFactory.h:54:141: error: invalid new-expression of abstract class type ‘nvinfer1::UpsampleLayerPlugin’ UpsampleLayerPlugin>(new UpsampleLayerPlugin(UPSAMPLE_SCALE,CUDA_THREAD_NUM)));

ghost avatar Feb 21 '19 10:02 ghost

Hi @JoelYang-github what is your TensorRT version? I only tried in 5.0.2.6/4.0.1.6.

lewes6369 avatar Feb 25 '19 03:02 lewes6369

5.0.4 on ubuntu18.04 with CUDA v10.0.

ghost avatar Feb 25 '19 05:02 ghost

I modified this bug. Because my GCC let me implement all the virtual functions of the parent class.

ghost avatar Feb 25 '19 10:02 ghost

Hi,@JoelYang-github ,which abstract function are not implemented? It seems that I have already override the virtual funcs inherited from the IPluginExt. Can you show me the funcs ,Thanks.

lewes6369 avatar Feb 27 '19 11:02 lewes6369

I modified this bug. Because my GCC let me implement all the virtual functions of the parent class.

Hi, I have the same problem. Could you please tell me how to fix it?

Thanks

lyuweiwang avatar Mar 21 '19 09:03 lyuweiwang