Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@e32b03d7c0a0:/workspace/tensorrt/python/examples/custom_layers/tensorrtplugins# python setup.py install
- running install
- running bdist_egg
- running egg_info
- writing requirements to tensorrtplugins.egg-info/requires.txt
- writing tensorrtplugins.egg-info/PKG-INFO
- writing dependency_links to tensorrtplugins.egg-info/dependency_links.txt
- writing top-level names to tensorrtplugins.egg-info/top_level.txt
- reading manifest file 'tensorrtplugins.egg-info/SOURCES.txt'
- reading manifest template 'MANIFEST.in'
- writing manifest file 'tensorrtplugins.egg-info/SOURCES.txt'
- installing library code to build/bdist.linux-x86_64/egg
- running install_lib
- running build_py
- running build_ext
- building 'tensorrtplugins._plugins' extension
- swigging interfaces/plugins.i to interfaces/plugins_wrap.cpp
- swig -python -c++ -v -modern -builtin -Wall -fvirtual -I/usr/include/x86_64-linux-gnu -I/usr/local/include -I/usr/include -I/usr/include/c++/4.8/ -py3 -o interfaces/plugins_wrap.cpp interfaces/plugins.i
- Language subdirectory: python
- Search paths:
- ./
- /usr/include/x86_64-linux-gnu/
- /usr/local/include/
- /usr/include/
- /usr/include/c++/4.8//
- ./swig_lib/python/
- /usr/share/swig3.0/python/
- ./swig_lib/
- /usr/share/swig3.0/
- Preprocessing...
- src/SSDPluginFactory.h:429: Warning 206: Unexpected tokens after #endif directive.
- Starting language-specific parse...
- /usr/include/x86_64-linux-gnu/NvInfer.h:514: Warning 321: 'type' conflicts with a built-in name in python
- Processing types...
- src/SSDPluginFactory.h:199: Warning 401: Nothing known about base class 'nvuffparser::IPluginFactory'. Ignored.
- C++ analysis...
- /usr/include/x86_64-linux-gnu/NvInfer.h:2922: Warning 403: Class 'nvinfer1::IRaggedSoftMaxLayer' might be abstract, no constructors generated,
- /usr/include/x86_64-linux-gnu/NvInfer.h:730: Warning 403: Method nvinfer1::ILayer::getType() const might not be implemented.
- /usr/include/x86_64-linux-gnu/NvInfer.h:3939: Warning 403: Class 'nvinfer1::IInt8EntropyCalibrator' might be abstract, no constructors generated,
- /usr/include/x86_64-linux-gnu/NvInfer.h:3883: Warning 403: Method nvinfer1::IInt8Calibrator::getBatchSize() const might not be implemented.
- Processing nested classes...
- Generating wrappers...
- src/FullyConnected.h:80: Warning 401: Base class 'nvinfer1::IPlugin' ignored - unknown module name for base. Either import the appropriate module interface file or specify the name of the module in the %import directive.
- src/FullyConnected.h:211: Warning 401: Base class 'nvinfer1::IPluginFactory' ignored - unknown module name for base. Either import the appropriate module interface file or specify the name of the module in the %import directive.
- src/FullyConnected.h:211: Warning 401: Base class 'nvcaffeparser1::IPluginFactory' ignored - unknown module name for base. Either import the appropriate module interface file or specify the name of the module in the %import directive.
- src/SSDPluginFactory.h:31: Warning 401: Base class 'nvinfer1::IPlugin' ignored - unknown module name for base. Either import the appropriate module interface file or specify the name of the module in the %import directive.
- src/SSDPluginFactory.h:200: Warning 401: Base class 'nvinfer1::IPluginFactory' ignored - unknown module name for base. Either import the appropriate module interface file or specify the name of the module in the %import directive.
- g++ -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/python3.5 -I/usr/local/lib/python3.5/numpy/core/include -I/usr/include/x86_64-linux-gnu -I/usr/local/cuda/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu/ -I/usr/include/python3.5m -c interfaces/plugins_wrap.cpp -o build/temp.linux-x86_64-3.5/interfaces/plugins_wrap.o -std=c++11 -DNDEBUG -DUNIX -D__UNIX -m64 -fPIC -O2 -w -fmessage-length=0
- cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h: In constructor 'FlattenConcat::FlattenConcat(const void*, size_t)':
- ./src/SSDPluginFactory.h:51:9: error: 'for_each' is not a member of 'std'
- std::for_each(mInputConcatAxis, mInputConcatAxis + mNumInputs, [&](int& inp) { inp = read<int>(d); });
- ^
- ./src/SSDPluginFactory.h:55:9: error: 'for_each' is not a member of 'std'
- std::for_each(mCopySize, mCopySize + mNumInputs, [&](size_t& inp) { inp = read<size_t>(d); });
- ^
- ./src/SSDPluginFactory.h: In member function 'virtual int FlattenConcat::enqueue(int, const void* const*, void**, void*, cudaStream_t)':
- ./src/SSDPluginFactory.h:107:22: error: 'accumulate' is not a member of 'std'
- numConcats = std::accumulate(mCHW.d, mCHW.d + mConcatAxisID - 1, 1, std::multiplies<int>());
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h: At global scope:
- ./src/SSDPluginFactory.h:422:29: error: 'INvPlugin' has not been declared
- void (*nvPluginDeleter)(INvPlugin*){[](INvPlugin* ptr) { ptr->destroy(); }};
- ^
- ./src/SSDPluginFactory.h:423:21: error: 'INvPlugin' was not declared in this scope
- std::unique_ptr<INvPlugin, void (*)(INvPlugin*)> mPluginPriorBox{nullptr, nvPluginDeleter};
- ^
- ./src/SSDPluginFactory.h:423:21: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:423:52: error: template argument 1 is invalid
- std::unique_ptr<INvPlugin, void (*)(INvPlugin*)> mPluginPriorBox{nullptr, nvPluginDeleter};
- ^
- ./src/SSDPluginFactory.h:423:52: error: template argument 2 is invalid
- ./src/SSDPluginFactory.h:424:21: error: 'INvPlugin' was not declared in this scope
- std::unique_ptr<INvPlugin, void (*)(INvPlugin*)> mPluginDetectionOutput{nullptr, nvPluginDeleter};
- ^
- ./src/SSDPluginFactory.h:424:21: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:424:52: error: template argument 1 is invalid
- std::unique_ptr<INvPlugin, void (*)(INvPlugin*)> mPluginDetectionOutput{nullptr, nvPluginDeleter};
- ^
- ./src/SSDPluginFactory.h:424:52: error: template argument 2 is invalid
- ./src/SSDPluginFactory.h:425:21: error: 'INvPlugin' was not declared in this scope
- std::unique_ptr<INvPlugin, void (*)(INvPlugin*)> mPluginConcat{nullptr, nvPluginDeleter};
- ^
- ./src/SSDPluginFactory.h:425:21: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:425:52: error: template argument 1 is invalid
- std::unique_ptr<INvPlugin, void (*)(INvPlugin*)> mPluginConcat{nullptr, nvPluginDeleter};
- ^
- ./src/SSDPluginFactory.h:425:52: error: template argument 2 is invalid
- ./src/SSDPluginFactory.h:422:44: error: 'INvPlugin' has not been declared
- void (*nvPluginDeleter)(INvPlugin*){[](INvPlugin* ptr) { ptr->destroy(); }};
- ^
- ./src/SSDPluginFactory.h: In lambda function:
- ./src/SSDPluginFactory.h:422:67: error: request for member 'destroy' in '* ptr', which is of non-class type 'int'
- void (*nvPluginDeleter)(INvPlugin*){[](INvPlugin* ptr) { ptr->destroy(); }};
- ^
- ./src/SSDPluginFactory.h: At global scope:
- ./src/SSDPluginFactory.h:423:94: error: cannot convert '<brace-enclosed initializer list>' to 'int' in initialization
- std::unique_ptr<INvPlugin, void (*)(INvPlugin*)> mPluginPriorBox{nullptr, nvPluginDeleter};
- ^
- ./src/SSDPluginFactory.h:424:101: error: cannot convert '<brace-enclosed initializer list>' to 'int' in initialization
- std::unique_ptr<INvPlugin, void (*)(INvPlugin*)> mPluginDetectionOutput{nullptr, nvPluginDeleter};
- ^
- ./src/SSDPluginFactory.h:425:92: error: cannot convert '<brace-enclosed initializer list>' to 'int' in initialization
- std::unique_ptr<INvPlugin, void (*)(INvPlugin*)> mPluginConcat{nullptr, nvPluginDeleter};
- ^
- ./src/SSDPluginFactory.h: In member function 'virtual nvinfer1::IPlugin* PluginFactory::createPlugin(const char*, const nvinfer1::Weights*, int, nvuffparser::FieldCollection)':
- ./src/SSDPluginFactory.h:281:17: error: 'vector' was not declared in this scope
- vector<float> firstLayerAspectRatios;
- ^
- ./src/SSDPluginFactory.h:281:17: note: suggested alternative:
- In file included from /usr/include/c++/5/vector:64:0,
- from ./src/SSDPluginFactory.h:13,
- from interfaces/plugins_wrap.cpp:3684:
- /usr/include/c++/5/bits/stl_vector.h:214:11: note: 'std::vector'
- class vector : protected _Vector_base<_Tp, _Alloc>
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:281:24: error: expected primary-expression before 'float'
- vector<float> firstLayerAspectRatios;
- ^
- ./src/SSDPluginFactory.h:285:21: error: 'firstLayerAspectRatios' was not declared in this scope
- firstLayerAspectRatios.push_back(aspectRatios[i]);
- ^
- ./src/SSDPluginFactory.h:288:17: error: 'GridAnchorParameters' was not declared in this scope
- GridAnchorParameters boxParams[numLayers];
- ^
- ./src/SSDPluginFactory.h:288:17: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:220:12: note: 'nvinfer1::plugin::GridAnchorParameters'
- struct GridAnchorParameters
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:292:25: error: 'boxParams' was not declared in this scope
- boxParams[i] = {minScale, maxScale, firstLayerAspectRatios.data(), (int)firstLayerAspectRatios.size(), fMapShapes[i], fMapShapes[i], {layerVariances[0], layerVariances[1], layerVa
- ^
- ./src/SSDPluginFactory.h:292:61: error: 'firstLayerAspectRatios' was not declared in this scope
- boxParams[i] = {minScale, maxScale, firstLayerAspectRatios.data(), (int)firstLayerAspectRatios.size(), fMapShapes[i], fMapShapes[i], {layerVariances[0], layerVariances[1], layerVa
- ^
- ./src/SSDPluginFactory.h:294:25: error: 'boxParams' was not declared in this scope
- boxParams[i] = {minScale, maxScale, aspectRatios.data(), (int)aspectRatios.size(), fMapShapes[i], fMapShapes[i], {layerVariances[0], layerVariances[1], layerVariances[2], layerVar
- ^
- ./src/SSDPluginFactory.h:297:51: error: 'INvPlugin' was not declared in this scope
- mPluginPriorBox = std::unique_ptr<INvPlugin, void(*)(INvPlugin*)>(createSSDAnchorGeneratorPlugin(boxParams, numLayers), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:297:51: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:297:81: error: template argument 1 is invalid
- mPluginPriorBox = std::unique_ptr<INvPlugin, void(*)(INvPlugin*)>(createSSDAnchorGeneratorPlugin(boxParams, numLayers), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:297:81: error: template argument 2 is invalid
- ./src/SSDPluginFactory.h:297:114: error: 'boxParams' was not declared in this scope
- mPluginPriorBox = std::unique_ptr<INvPlugin, void(*)(INvPlugin*)>(createSSDAnchorGeneratorPlugin(boxParams, numLayers), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:297:134: error: 'createSSDAnchorGeneratorPlugin' was not declared in this scope
- mPluginPriorBox = std::unique_ptr<INvPlugin, void(*)(INvPlugin*)>(createSSDAnchorGeneratorPlugin(boxParams, numLayers), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:297:134: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:240:29: note: 'nvinfer1::plugin::createSSDAnchorGeneratorPlugin'
- TENSORRTAPI INvPlugin * createSSDAnchorGeneratorPlugin(const void * data, size_t length);
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:298:40: error: request for member 'get' in '((PluginFactory*)this)->PluginFactory::mPluginPriorBox', which is of non-class type 'int'
- return mPluginPriorBox.get();
- ^
- ./src/SSDPluginFactory.h:305:92: error: 'concatAxis' was not declared in this scope
- mPluginFlattenConcat[i] = std::unique_ptr<FlattenConcat>(new FlattenConcat(concatAxis[i], ignoreBatch[i]));
- ^
- ./src/SSDPluginFactory.h:305:107: error: 'ignoreBatch' was not declared in this scope
- mPluginFlattenConcat[i] = std::unique_ptr<FlattenConcat>(new FlattenConcat(concatAxis[i], ignoreBatch[i]));
- ^
- ./src/SSDPluginFactory.h:312:49: error: 'INvPlugin' was not declared in this scope
- mPluginConcat = std::unique_ptr<INvPlugin, void(*)(INvPlugin*)>(createConcatPlugin(2, true), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:312:49: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:312:79: error: template argument 1 is invalid
- mPluginConcat = std::unique_ptr<INvPlugin, void(*)(INvPlugin*)>(createConcatPlugin(2, true), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:312:79: error: template argument 2 is invalid
- ./src/SSDPluginFactory.h:312:107: error: 'createConcatPlugin' was not declared in this scope
- mPluginConcat = std::unique_ptr<INvPlugin, void(*)(INvPlugin*)>(createConcatPlugin(2, true), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:312:107: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:294:29: note: 'nvinfer1::plugin::createConcatPlugin'
- TENSORRTAPI INvPlugin * createConcatPlugin(const void * data, size_t length);
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:313:38: error: request for member 'get' in '((PluginFactory*)this)->PluginFactory::mPluginConcat', which is of non-class type 'int'
- return mPluginConcat.get();
- ^
- ./src/SSDPluginFactory.h:327:25: error: 'detectionOutputParam' was not declared in this scope
- detectionOutputParam.nmsThreshold =(float)(*(static_cast<const double*>(fields[i].data)));
- ^
- ./src/SSDPluginFactory.h:332:25: error: 'detectionOutputParam' was not declared in this scope
- detectionOutputParam.numClasses = (int)(*(static_cast<const int*>(fields[i].data)));
- ^
- ./src/SSDPluginFactory.h:337:25: error: 'detectionOutputParam' was not declared in this scope
- detectionOutputParam.topK = (int)(*(static_cast<const int*>(fields[i].data)));
- ^
- ./src/SSDPluginFactory.h:343:29: error: 'detectionOutputParam' was not declared in this scope
- detectionOutputParam.confSigmoid = true;
- ^
- ./src/SSDPluginFactory.h:348:25: error: 'detectionOutputParam' was not declared in this scope
- detectionOutputParam.keepTopK = (int)(*(static_cast<const int*>(fields[i].data)));
- ^
- ./src/SSDPluginFactory.h:352:25: error: 'detectionOutputParam' was not declared in this scope
- detectionOutputParam.confidenceThreshold = (float)(*(static_cast<const double*>(fields[i].data)));
- ^
- ./src/SSDPluginFactory.h:355:58: error: 'INvPlugin' was not declared in this scope
- mPluginDetectionOutput = std::unique_ptr<INvPlugin, void(*)(INvPlugin*)>(createSSDDetectionOutputPlugin(detectionOutputParam), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:355:58: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:355:88: error: template argument 1 is invalid
- mPluginDetectionOutput = std::unique_ptr<INvPlugin, void(*)(INvPlugin*)>(createSSDDetectionOutputPlugin(detectionOutputParam), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:355:88: error: template argument 2 is invalid
- ./src/SSDPluginFactory.h:355:121: error: 'detectionOutputParam' was not declared in this scope
- mPluginDetectionOutput = std::unique_ptr<INvPlugin, void(*)(INvPlugin*)>(createSSDDetectionOutputPlugin(detectionOutputParam), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:355:141: error: 'createSSDDetectionOutputPlugin' was not declared in this scope
- mPluginDetectionOutput = std::unique_ptr<INvPlugin, void(*)(INvPlugin*)>(createSSDDetectionOutputPlugin(detectionOutputParam), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:355:141: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:286:29: note: 'nvinfer1::plugin::createSSDDetectionOutputPlugin'
- TENSORRTAPI INvPlugin * createSSDDetectionOutputPlugin(const void * data, size_t length);
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:356:47: error: request for member 'get' in '((PluginFactory*)this)->PluginFactory::mPluginDetectionOutput', which is of non-class type 'int'
- return mPluginDetectionOutput.get();
- ^
- ./src/SSDPluginFactory.h: In member function 'virtual nvinfer1::IPlugin* PluginFactory::createPlugin(const char*, const void*, size_t)':
- ./src/SSDPluginFactory.h:372:47: error: 'INvPlugin' was not declared in this scope
- mPluginPriorBox = std::unique_ptr<INvPlugin, void (*)(INvPlugin*)>(createSSDAnchorGeneratorPlugin(serialData, serialLength), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:372:47: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:372:78: error: template argument 1 is invalid
- mPluginPriorBox = std::unique_ptr<INvPlugin, void (*)(INvPlugin*)>(createSSDAnchorGeneratorPlugin(serialData, serialLength), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:372:78: error: template argument 2 is invalid
- ./src/SSDPluginFactory.h:372:135: error: 'createSSDAnchorGeneratorPlugin' was not declared in this scope
- mPluginPriorBox = std::unique_ptr<INvPlugin, void (*)(INvPlugin*)>(createSSDAnchorGeneratorPlugin(serialData, serialLength), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:372:135: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:240:29: note: 'nvinfer1::plugin::createSSDAnchorGeneratorPlugin'
- TENSORRTAPI INvPlugin * createSSDAnchorGeneratorPlugin(const void * data, size_t length);
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:373:36: error: request for member 'get' in '((PluginFactory*)this)->PluginFactory::mPluginPriorBox', which is of non-class type 'int'
- return mPluginPriorBox.get();
- ^
- ./src/SSDPluginFactory.h:385:45: error: 'INvPlugin' was not declared in this scope
- mPluginConcat = std::unique_ptr<INvPlugin, void (*)(INvPlugin*)>(createConcatPlugin(serialData, serialLength), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:385:45: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:385:76: error: template argument 1 is invalid
- mPluginConcat = std::unique_ptr<INvPlugin, void (*)(INvPlugin*)>(createConcatPlugin(serialData, serialLength), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:385:76: error: template argument 2 is invalid
- ./src/SSDPluginFactory.h:385:121: error: 'createConcatPlugin' was not declared in this scope
- mPluginConcat = std::unique_ptr<INvPlugin, void (*)(INvPlugin*)>(createConcatPlugin(serialData, serialLength), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:385:121: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:294:29: note: 'nvinfer1::plugin::createConcatPlugin'
- TENSORRTAPI INvPlugin * createConcatPlugin(const void * data, size_t length);
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:386:34: error: request for member 'get' in '((PluginFactory*)this)->PluginFactory::mPluginConcat', which is of non-class type 'int'
- return mPluginConcat.get();
- ^
- ./src/SSDPluginFactory.h:391:54: error: 'INvPlugin' was not declared in this scope
- mPluginDetectionOutput = std::unique_ptr<INvPlugin, void (*)(INvPlugin*)>(createSSDDetectionOutputPlugin(serialData, serialLength), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:391:54: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:391:85: error: template argument 1 is invalid
- mPluginDetectionOutput = std::unique_ptr<INvPlugin, void (*)(INvPlugin*)>(createSSDDetectionOutputPlugin(serialData, serialLength), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:391:85: error: template argument 2 is invalid
- ./src/SSDPluginFactory.h:391:142: error: 'createSSDDetectionOutputPlugin' was not declared in this scope
- mPluginDetectionOutput = std::unique_ptr<INvPlugin, void (*)(INvPlugin*)>(createSSDDetectionOutputPlugin(serialData, serialLength), nvPluginDeleter);
- ^
- ./src/SSDPluginFactory.h:391:142: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:286:29: note: 'nvinfer1::plugin::createSSDDetectionOutputPlugin'
- TENSORRTAPI INvPlugin * createSSDDetectionOutputPlugin(const void * data, size_t length);
- ^
- In file included from interfaces/plugins_wrap.cpp:3684:0:
- ./src/SSDPluginFactory.h:392:43: error: request for member 'get' in '((PluginFactory*)this)->PluginFactory::mPluginDetectionOutput', which is of non-class type 'int'
- return mPluginDetectionOutput.get();
- ^
- ./src/SSDPluginFactory.h: In member function 'void PluginFactory::destroyPlugin()':
- ./src/SSDPluginFactory.h:417:23: error: request for member 'reset' in '((PluginFactory*)this)->PluginFactory::mPluginConcat', which is of non-class type 'int'
- mPluginConcat.reset();
- ^
- ./src/SSDPluginFactory.h:418:25: error: request for member 'reset' in '((PluginFactory*)this)->PluginFactory::mPluginPriorBox', which is of non-class type 'int'
- mPluginPriorBox.reset();
- ^
- ./src/SSDPluginFactory.h:419:32: error: request for member 'reset' in '((PluginFactory*)this)->PluginFactory::mPluginDetectionOutput', which is of non-class type 'int'
- mPluginDetectionOutput.reset();
- ^
- interfaces/plugins_wrap.cpp: In function 'PyObject* _wrap_PluginFactory_nvPluginDeleter_set(PyObject*, PyObject*)':
- interfaces/plugins_wrap.cpp:4882:16: error: 'INvPlugin' was not declared in this scope
- void (*arg2)(INvPlugin *) = (void (*)(INvPlugin *)) 0 ;
- ^
- interfaces/plugins_wrap.cpp:4882:16: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- interfaces/plugins_wrap.cpp:4882:27: error: expected primary-expression before ')' token
- void (*arg2)(INvPlugin *) = (void (*)(INvPlugin *)) 0 ;
- ^
- interfaces/plugins_wrap.cpp:4882:29: error: expected ',' or ';' before '=' token
- void (*arg2)(INvPlugin *) = (void (*)(INvPlugin *)) 0 ;
- ^
- interfaces/plugins_wrap.cpp:4899:37: error: invalid conversion from 'void*' to 'void (*)(int*)' [-fpermissive]
- if (arg1) (arg1)->nvPluginDeleter = arg2;
- ^
- interfaces/plugins_wrap.cpp: In function 'PyObject* _wrap_PluginFactory_nvPluginDeleter_get(PyObject*, PyObject*)':
- interfaces/plugins_wrap.cpp:4912:18: error: 'INvPlugin' was not declared in this scope
- void (*result)(INvPlugin *) = 0 ;
- ^
- interfaces/plugins_wrap.cpp:4912:18: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- interfaces/plugins_wrap.cpp:4912:29: error: expected primary-expression before ')' token
- void (*result)(INvPlugin *) = 0 ;
- ^
- interfaces/plugins_wrap.cpp:4912:31: error: expected ',' or ';' before '=' token
- void (*result)(INvPlugin *) = 0 ;
- ^
- interfaces/plugins_wrap.cpp:4920:13: error: expected primary-expression before 'void'
- result = (void (*)(INvPlugin *)) ((arg1)->nvPluginDeleter);
- ^
- interfaces/plugins_wrap.cpp:4920:13: error: expected ')' before 'void'
- interfaces/plugins_wrap.cpp: In function 'PyObject* _wrap_PluginFactory_mPluginPriorBox_set(PyObject*, PyObject*)':
- interfaces/plugins_wrap.cpp:4931:20: error: 'INvPlugin' was not declared in this scope
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > arg2 ;
- ^
- interfaces/plugins_wrap.cpp:4931:20: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- interfaces/plugins_wrap.cpp:4931:52: error: template argument 1 is invalid
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > arg2 ;
- ^
- interfaces/plugins_wrap.cpp:4931:52: error: template argument 2 is invalid
- interfaces/plugins_wrap.cpp:4952:24: error: the value of 'INvPlugin' is not usable in a constant expression
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:4931:20: note: 'INvPlugin' was not declared 'constexpr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > arg2 ;
- ^
- interfaces/plugins_wrap.cpp:4952:56: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Dp> class std::unique_ptr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:4952:56: note: expected a type, got 'INvPlugin'
- interfaces/plugins_wrap.cpp:4952:56: error: template argument 2 is invalid
- interfaces/plugins_wrap.cpp:4952:102: error: the value of 'INvPlugin' is not usable in a constant expression
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:4931:20: note: 'INvPlugin' was not declared 'constexpr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > arg2 ;
- ^
- interfaces/plugins_wrap.cpp:4952:134: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Dp> class std::unique_ptr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:4952:134: note: expected a type, got 'INvPlugin'
- interfaces/plugins_wrap.cpp:4952:134: error: template argument 2 is invalid
- interfaces/plugins_wrap.cpp:4952:136: error: expected '>' before '*' token
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:4952:136: error: expected '(' before '*' token
- interfaces/plugins_wrap.cpp:4952:138: error: expected primary-expression before '>' token
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:4952:146: error: expected ')' before ';' token
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp: In function 'PyObject* _wrap_PluginFactory_mPluginPriorBox_get(PyObject*, PyObject*)':
- interfaces/plugins_wrap.cpp:4970:20: error: 'INvPlugin' was not declared in this scope
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > result;
- ^
- interfaces/plugins_wrap.cpp:4970:20: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- interfaces/plugins_wrap.cpp:4970:52: error: template argument 1 is invalid
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > result;
- ^
- interfaces/plugins_wrap.cpp:4970:52: error: template argument 2 is invalid
- interfaces/plugins_wrap.cpp:4979:56: error: the value of 'INvPlugin' is not usable in a constant expression
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:4970:20: note: 'INvPlugin' was not declared 'constexpr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > result;
- ^
- interfaces/plugins_wrap.cpp:4979:88: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Dp> class std::unique_ptr'
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:4979:88: note: expected a type, got 'INvPlugin'
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:4979:88: error: template argument 2 is invalid
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:4979:126: error: the value of 'INvPlugin' is not usable in a constant expression
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:4970:20: note: 'INvPlugin' was not declared 'constexpr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > result;
- ^
- interfaces/plugins_wrap.cpp:4979:158: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Dp> class std::unique_ptr'
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:4979:158: note: expected a type, got 'INvPlugin'
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:4979:158: error: template argument 2 is invalid
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:4979:159: error: expected '>' before '&' token
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:4979:159: error: expected '(' before '&' token
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:4979:161: error: expected primary-expression before '>' token
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp: In function 'PyObject* _wrap_PluginFactory_mPluginDetectionOutput_set(PyObject*, PyObject*)':
- interfaces/plugins_wrap.cpp:4989:20: error: 'INvPlugin' was not declared in this scope
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > arg2 ;
- ^
- interfaces/plugins_wrap.cpp:4989:20: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- interfaces/plugins_wrap.cpp:4989:52: error: template argument 1 is invalid
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > arg2 ;
- ^
- interfaces/plugins_wrap.cpp:4989:52: error: template argument 2 is invalid
- interfaces/plugins_wrap.cpp:5010:24: error: the value of 'INvPlugin' is not usable in a constant expression
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:4989:20: note: 'INvPlugin' was not declared 'constexpr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > arg2 ;
- ^
- interfaces/plugins_wrap.cpp:5010:56: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Dp> class std::unique_ptr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:5010:56: note: expected a type, got 'INvPlugin'
- interfaces/plugins_wrap.cpp:5010:56: error: template argument 2 is invalid
- interfaces/plugins_wrap.cpp:5010:102: error: the value of 'INvPlugin' is not usable in a constant expression
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:4989:20: note: 'INvPlugin' was not declared 'constexpr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > arg2 ;
- ^
- interfaces/plugins_wrap.cpp:5010:134: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Dp> class std::unique_ptr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:5010:134: note: expected a type, got 'INvPlugin'
- interfaces/plugins_wrap.cpp:5010:134: error: template argument 2 is invalid
- interfaces/plugins_wrap.cpp:5010:136: error: expected '>' before '*' token
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:5010:136: error: expected '(' before '*' token
- interfaces/plugins_wrap.cpp:5010:138: error: expected primary-expression before '>' token
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:5010:146: error: expected ')' before ';' token
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp: In function 'PyObject* _wrap_PluginFactory_mPluginDetectionOutput_get(PyObject*, PyObject*)':
- interfaces/plugins_wrap.cpp:5028:20: error: 'INvPlugin' was not declared in this scope
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > result;
- ^
- interfaces/plugins_wrap.cpp:5028:20: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- interfaces/plugins_wrap.cpp:5028:52: error: template argument 1 is invalid
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > result;
- ^
- interfaces/plugins_wrap.cpp:5028:52: error: template argument 2 is invalid
- interfaces/plugins_wrap.cpp:5037:56: error: the value of 'INvPlugin' is not usable in a constant expression
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5028:20: note: 'INvPlugin' was not declared 'constexpr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > result;
- ^
- interfaces/plugins_wrap.cpp:5037:88: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Dp> class std::unique_ptr'
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5037:88: note: expected a type, got 'INvPlugin'
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5037:88: error: template argument 2 is invalid
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5037:126: error: the value of 'INvPlugin' is not usable in a constant expression
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5028:20: note: 'INvPlugin' was not declared 'constexpr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > result;
- ^
- interfaces/plugins_wrap.cpp:5037:158: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Dp> class std::unique_ptr'
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5037:158: note: expected a type, got 'INvPlugin'
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5037:158: error: template argument 2 is invalid
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5037:159: error: expected '>' before '&' token
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5037:159: error: expected '(' before '&' token
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5037:161: error: expected primary-expression before '>' token
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp: In function 'PyObject* _wrap_PluginFactory_mPluginConcat_set(PyObject*, PyObject*)':
- interfaces/plugins_wrap.cpp:5047:20: error: 'INvPlugin' was not declared in this scope
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > arg2 ;
- ^
- interfaces/plugins_wrap.cpp:5047:20: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- interfaces/plugins_wrap.cpp:5047:52: error: template argument 1 is invalid
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > arg2 ;
- ^
- interfaces/plugins_wrap.cpp:5047:52: error: template argument 2 is invalid
- interfaces/plugins_wrap.cpp:5068:24: error: the value of 'INvPlugin' is not usable in a constant expression
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:5047:20: note: 'INvPlugin' was not declared 'constexpr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > arg2 ;
- ^
- interfaces/plugins_wrap.cpp:5068:56: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Dp> class std::unique_ptr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:5068:56: note: expected a type, got 'INvPlugin'
- interfaces/plugins_wrap.cpp:5068:56: error: template argument 2 is invalid
- interfaces/plugins_wrap.cpp:5068:102: error: the value of 'INvPlugin' is not usable in a constant expression
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:5047:20: note: 'INvPlugin' was not declared 'constexpr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > arg2 ;
- ^
- interfaces/plugins_wrap.cpp:5068:134: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Dp> class std::unique_ptr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:5068:134: note: expected a type, got 'INvPlugin'
- interfaces/plugins_wrap.cpp:5068:134: error: template argument 2 is invalid
- interfaces/plugins_wrap.cpp:5068:136: error: expected '>' before '*' token
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:5068:136: error: expected '(' before '*' token
- interfaces/plugins_wrap.cpp:5068:138: error: expected primary-expression before '>' token
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp:5068:146: error: expected ')' before ';' token
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * temp = reinterpret_cast< std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > * >(argp2);
- ^
- interfaces/plugins_wrap.cpp: In function 'PyObject* _wrap_PluginFactory_mPluginConcat_get(PyObject*, PyObject*)':
- interfaces/plugins_wrap.cpp:5086:20: error: 'INvPlugin' was not declared in this scope
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > result;
- ^
- interfaces/plugins_wrap.cpp:5086:20: note: suggested alternative:
- In file included from interfaces/plugins_wrap.cpp:3680:0:
- /usr/include/x86_64-linux-gnu/NvInferPlugin.h:100:11: note: 'nvinfer1::plugin::INvPlugin'
- class INvPlugin : public IPlugin
- ^
- interfaces/plugins_wrap.cpp:5086:52: error: template argument 1 is invalid
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > result;
- ^
- interfaces/plugins_wrap.cpp:5086:52: error: template argument 2 is invalid
- interfaces/plugins_wrap.cpp:5095:56: error: the value of 'INvPlugin' is not usable in a constant expression
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5086:20: note: 'INvPlugin' was not declared 'constexpr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > result;
- ^
- interfaces/plugins_wrap.cpp:5095:88: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Dp> class std::unique_ptr'
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5095:88: note: expected a type, got 'INvPlugin'
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5095:88: error: template argument 2 is invalid
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5095:126: error: the value of 'INvPlugin' is not usable in a constant expression
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5086:20: note: 'INvPlugin' was not declared 'constexpr'
- std::unique_ptr< INvPlugin,void (*)(INvPlugin *) > result;
- ^
- interfaces/plugins_wrap.cpp:5095:158: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Dp> class std::unique_ptr'
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5095:158: note: expected a type, got 'INvPlugin'
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5095:158: error: template argument 2 is invalid
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5095:159: error: expected '>' before '&' token
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5095:159: error: expected '(' before '&' token
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp:5095:161: error: expected primary-expression before '>' token
- resultobj = SWIG_NewPointerObj((new std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >(static_cast< const std::unique_ptr< INvPlugin,void (*)(INvPlugin *) >& >(result))), SWIGTYPE_p_std__unique_ptrT_IN
- ^
- interfaces/plugins_wrap.cpp:1187:89: note: in definition of macro 'SWIG_NewPointerObj'
- #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
- ^
- interfaces/plugins_wrap.cpp: In function 'PyObject* _wrap_PluginFactory_mPluginFlattenConcat_set(PyObject*, PyObject*)':
- interfaces/plugins_wrap.cpp:5126:105: error: use of deleted function 'std::unique_ptr<_Tp, _Dp>& std::unique_ptr<_Tp, _Dp>::operator=(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = FlattenConcat; _Dp = std::default_delete<FlattenConcat>]'
- for (; ii < (size_t)2; ++ii) *(std::unique_ptr< FlattenConcat > *)&arg1->mPluginFlattenConcat[ii] = *((std::unique_ptr< FlattenConcat > *)arg2 + ii);
- ^
- In file included from /usr/include/c++/5/memory:81:0,
- from ./src/FullyConnected.h:59,
- from interfaces/plugins_wrap.cpp:3683:
- /usr/include/c++/5/bits/unique_ptr.h:357:19: note: declared here
- unique_ptr& operator=(const unique_ptr&) = delete;
- ^
- error: command 'g++' failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement