Chandramouli

Intel WebRTC Media Analytics plugin Error Messages

Aug 6th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.44 KB | None | 0 0
  1. [ 66%] Linking CXX shared library ../intel64/Release/lib/libcpu_extension.so
  2. [ 66%] Built target ie_cpu_extension
  3. Scanning dependencies of target facedetectionplugin
  4. [ 68%] Building CXX object face_detection_plugin/CMakeFiles/facedetectionplugin.dir/main.cpp.o
  5. /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp: In member function ‘virtual InferenceEngine::CNNNetwork FaceDetectionClass::read()’:
  6. /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:151:61: error: ‘InferenceEngine::Data::dims’ is deprecated [-Werror=deprecated-declarations]
  7. const InferenceEngine::SizeVector outputDims = _output->dims;
  8. ^~~~
  9. In file included from /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/ie_layers.h:20:0,
  10. from /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/inference_engine.hpp:19,
  11. from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/myplugin.h:15,
  12. from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:15:
  13. /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/ie_data.h:46:16: note: declared here
  14. SizeVector dims;
  15. ^~~~
  16. /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:151:61: error: ‘InferenceEngine::Data::dims’ is deprecated [-Werror=deprecated-declarations]
  17. const InferenceEngine::SizeVector outputDims = _output->dims;
  18. ^~~~
  19. In file included from /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/ie_layers.h:20:0,
  20. from /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/inference_engine.hpp:19,
  21. from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/myplugin.h:15,
  22. from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:15:
  23. /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/ie_data.h:46:16: note: declared here
  24. SizeVector dims;
  25. ^~~~
  26. /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:151:61: error: ‘InferenceEngine::Data::dims’ is deprecated [-Werror=deprecated-declarations]
  27. const InferenceEngine::SizeVector outputDims = _output->dims;
  28.  
  29. In file included from /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/ie_layers.h:20:0,
  30. from /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/inference_engine.hpp:19,
  31. from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/myplugin.h:15,
  32. from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:15:
  33. /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/ie_data.h:46:16: note: declared here
  34. SizeVector dims;
  35. ^~~~
  36. /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp: In member function ‘void threading_class::threading_func()’:
  37. /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:196:83: error: ‘InferenceEngine::InferencePlugin InferenceEngine::PluginDispatcher::getPluginByDevice(const string&) const’ is deprecated [-Werror=deprecated-declarations]
  38. InferencePlugin plugin = PluginDispatcher({""}).getPluginByDevice(deviceName);
  39. ^
  40. In file included from /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/inference_engine.hpp:21:0,
  41. from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/myplugin.h:15,
  42. from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:15:
  43. /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/ie_plugin_dispatcher.hpp:42:21: note: declared here
  44. InferencePlugin getPluginByDevice(const std::string& deviceName) const;
  45. ^~~~~~~~~~~~~~~~~
  46. In file included from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:15:0:
  47. /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/myplugin.h: In instantiation of ‘void matU8ToBlob(const cv::Mat&, InferenceEngine::Blob::Ptr&, float, int) [with T = unsigned char; InferenceEngine::Blob::Ptr = std::shared_ptr<InferenceEngine::Blob>]’:
  48. /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:64:43: required from here
  49. /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/myplugin.h:25:60: error: ‘const SizeVector InferenceEngine::Blob::dims() const’ is deprecated [-Werror=deprecated-declarations]
  50. InferenceEngine::SizeVector blobSize = blob.get()->dims();
  51. ~~~~~~~~~~~~~~~~^~
  52. In file included from /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/inference_engine.hpp:16:0,
  53. from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/myplugin.h:15,
  54. from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:15:
  55. /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/ie_blob.h:240:22: note: declared here
  56. const SizeVector dims() const noexcept {
  57.  
  58. In file included from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:15:0:
  59. /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/myplugin.h:25:60: error: ‘const SizeVector InferenceEngine::Blob::dims() const’ is deprecated [-Werror=deprecated-declarations]
  60. InferenceEngine::SizeVector blobSize = blob.get()->dims();
  61. ~~~~~~~~~~~~~~~~^~
  62. In file included from /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/inference_engine.hpp:16:0,
  63. from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/myplugin.h:15,
  64. from /home/chandramouli/Release-v4.2.1/analytics_agent/plugins/samples/face_detection_plugin/main.cpp:15:
  65. /opt/intel/openvino_2019.2.242/deployment_tools/inference_engine/include/ie_blob.h:240:22: note: declared here
  66. const SizeVector dims() const noexcept {
  67. ^~~~
  68. cc1plus: all warnings being treated as errors
  69. face_detection_plugin/CMakeFiles/facedetectionplugin.dir/build.make:62: recipe for target 'face_detection_plugin/CMakeFiles/facedetectionplugin.dir/main.cpp.o' failed
  70. make[2]: *** [face_detection_plugin/CMakeFiles/facedetectionplugin.dir/main.cpp.o] Error 1
  71. CMakeFiles/Makefile2:190: recipe for target 'face_detection_plugin/CMakeFiles/facedetectionplugin.dir/all' failed
  72. make[1]: *** [face_detection_plugin/CMakeFiles/facedetectionplugin.dir/all] Error 2
  73. Makefile:83: recipe for target 'all' failed
  74. make: *** [all] Error 2
  75. Error on or near line 49; exiting with status 1
Add Comment
Please, Sign In to add comment