vdsinfer_custom_impl_Yolodcube-y@dcubey-desktop:/opt/nvidia/deepstream/deepstream-5.1/sources/objectDetector_Yolo/deepstream_yolov5/Yolov5-in-Deepstream-5.0-master/Deepstream 5.0/nvdsinfer_custom_impl_Yolo$ make -j6
g++ -c -o yolo.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I../includes -I/usr/local/cuda-10.2/include yolo.cpp
g++ -c -o yoloPlugins.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I../includes -I/usr/local/cuda-10.2/include yoloPlugins.cpp
In file included from yoloPlugins.cpp:23:0:
yoloPlugins.h:74:9: error: ‘int YoloLayerV3::enqueue(int, const void const, void const, void, cudaStream_t)’ marked ‘override’, but does not override
int enqueue (
^~~
yoloPlugins.h: In member function ‘virtual nvinfer1::IPluginV2 YoloLayerV3PluginCreator::deserializePlugin(const char, const void, size_t)’:
yoloPlugins.h:122:56: error: invalid new-expression of abstract class type ‘YoloLayerV3’
return new YoloLayerV3(serialData, serialLength);
^
yoloPlugins.h:50:7: note: because the following virtual functions are pure within ‘YoloLayerV3’:
class YoloLayerV3 : public nvinfer1::IPluginV2
^~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from /usr/include/aarch64-linux-gnu/NvInferPlugin.h:53,
from yoloPlugins.h:32,
from yoloPlugins.cpp:23:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:492:17: note: virtual int nvinfer1::IPluginV2::enqueue(int, const void const, void, void, cudaStream_t)
virtual int enqueue(int batchSize, const void const* inputs, void* outputs, void workspace, cudaStream_t stream) TRTNOEXCEPT = 0;
^~~
yoloPlugins.cpp: In member function ‘virtual nvinfer1::IPluginV2 YoloLayerV3::clone() const’:
yoloPlugins.cpp:124:65: error: invalid new-expression of abstract class type ‘YoloLayerV3’
return new YoloLayerV3 (m_NumBoxes, m_NumClasses, m_GridSize);
^
Makefile:51: recipe for target 'yoloPlugins.o' failed
make: [yoloPlugins.o] Error 1
make: Waiting for unfinished jobs....
In file included from yolo.cpp:24:0:
yoloPlugins.h:74:9: error: ‘int YoloLayerV3::enqueue(int, const void const, void const, void, cudaStream_t)’ marked ‘override’, but does not override
int enqueue (
^~~
yoloPlugins.h: In member function ‘virtual nvinfer1::IPluginV2 YoloLayerV3PluginCreator::deserializePlugin(const char, const void, size_t)’:
yoloPlugins.h:122:56: error: invalid new-expression of abstract class type ‘YoloLayerV3’
return new YoloLayerV3(serialData, serialLength);
^
yoloPlugins.h:50:7: note: because the following virtual functions are pure within ‘YoloLayerV3’:
class YoloLayerV3 : public nvinfer1::IPluginV2
^~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from yolo.h:31,
from yolo.cpp:23:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:492:17: note: virtual int nvinfer1::IPluginV2::enqueue(int, const void const*, void*, void, cudaStream_t)
virtual int enqueue(int batchSize, const void const inputs, void outputs, void workspace, cudaStream_t stream) TRTNOEXCEPT = 0;
^~~
yolo.cpp: In member function ‘nvinfer1::ICudaEngine Yolo::createEngine(nvinfer1::IBuilder*)’:
yolo.cpp:72:12: error: ‘virtual nvinfer1::IBuilderConfig::~IBuilderConfig()’ is protected within this context
delete config;
^~
In file included from yolo.h:31:0,
from yolo.cpp:23:
/usr/include/aarch64-linux-gnu/NvInfer.h:6692:13: note: declared protected here
virtual ~IBuilderConfig()
^
yolo.cpp: In member function ‘NvDsInferStatus Yolo::buildYoloNetwork(std::vector&, nvinfer1::INetworkDefinition&)’:
yolo.cpp:178:81: error: invalid new-expression of abstract class type ‘YoloLayerV3’
m_OutputTensors.at(outputTensorCount).gridSize);
^
Makefile:51: recipe for target 'yolo.o' failed
make: *** [yolo.o] Error 1
vdsinfer_custom_impl_Yolodcube-y@dcubey-desktop:/opt/nvidia/deepstream/deepstream-5.1/sources/objectDetector_Yolo/deepstream_yolov5/Yolov5-in-Deepstream-5.0-master/Deepstream 5.0/nvdsinfer_custom_impl_Yolo$ make -j6 g++ -c -o yolo.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I../includes -I/usr/local/cuda-10.2/include yolo.cpp g++ -c -o yoloPlugins.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I../includes -I/usr/local/cuda-10.2/include yoloPlugins.cpp In file included from yoloPlugins.cpp:23:0: yoloPlugins.h:74:9: error: ‘int YoloLayerV3::enqueue(int, const void const, void const, void, cudaStream_t)’ marked ‘override’, but does not override int enqueue ( ^&, nvinfer1::INetworkDefinition&)’:
yolo.cpp:178:81: error: invalid new-expression of abstract class type ‘YoloLayerV3’
m_OutputTensors.at(outputTensorCount).gridSize);
^
Makefile:51: recipe for target 'yolo.o' failed
make: *** [yolo.o] Error 1
~~ yoloPlugins.h: In member function ‘virtual nvinfer1::IPluginV2 YoloLayerV3PluginCreator::deserializePlugin(const char, const void, size_t)’: yoloPlugins.h:122:56: error: invalid new-expression of abstract class type ‘YoloLayerV3’ return new YoloLayerV3(serialData, serialLength); ^ yoloPlugins.h:50:7: note: because the following virtual functions are pure within ‘YoloLayerV3’: class YoloLayerV3 : public nvinfer1::IPluginV2 ^~~In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from /usr/include/aarch64-linux-gnu/NvInferPlugin.h:53, from yoloPlugins.h:32, from yoloPlugins.cpp:23: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:492:17: note: virtual int nvinfer1::IPluginV2::enqueue(int, const void const, void, void, cudaStream_t) virtual int enqueue(int batchSize, const void const* inputs, void* outputs, void workspace, cudaStream_t stream) TRTNOEXCEPT = 0; ^~~ yoloPlugins.cpp: In member function ‘virtual nvinfer1::IPluginV2 YoloLayerV3::clone() const’: yoloPlugins.cpp:124:65: error: invalid new-expression of abstract class type ‘YoloLayerV3’ return new YoloLayerV3 (m_NumBoxes, m_NumClasses, m_GridSize); ^ Makefile:51: recipe for target 'yoloPlugins.o' failed make: [yoloPlugins.o] Error 1 make: Waiting for unfinished jobs.... In file included from yolo.cpp:24:0: yoloPlugins.h:74:9: error: ‘int YoloLayerV3::enqueue(int, const void const, void const, void, cudaStream_t)’ marked ‘override’, but does not override int enqueue ( ^~~ yoloPlugins.h: In member function ‘virtual nvinfer1::IPluginV2 YoloLayerV3PluginCreator::deserializePlugin(const char, const void, size_t)’: yoloPlugins.h:122:56: error: invalid new-expression of abstract class type ‘YoloLayerV3’ return new YoloLayerV3(serialData, serialLength); ^ yoloPlugins.h:50:7: note: because the following virtual functions are pure within ‘YoloLayerV3’: class YoloLayerV3 : public nvinfer1::IPluginV2 ^~~In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0, from /usr/include/aarch64-linux-gnu/NvInfer.h:53, from yolo.h:31, from yolo.cpp:23: /usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:492:17: note: virtual int nvinfer1::IPluginV2::enqueue(int, const void const*, void*, void, cudaStream_t) virtual int enqueue(int batchSize, const void const inputs, void outputs, void workspace, cudaStream_t stream) TRTNOEXCEPT = 0; ^~~ yolo.cpp: In member function ‘nvinfer1::ICudaEngine Yolo::createEngine(nvinfer1::IBuilder*)’: yolo.cpp:72:12: error: ‘virtual nvinfer1::IBuilderConfig::~IBuilderConfig()’ is protected within this context delete config; ^~In file included from yolo.h:31:0, from yolo.cpp:23: /usr/include/aarch64-linux-gnu/NvInfer.h:6692:13: note: declared protected here virtual ~IBuilderConfig() ^ yolo.cpp: In member function ‘NvDsInferStatus Yolo::buildYoloNetwork(std::vector