- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to compile the demo code at ...
raylo@Raymonds-MacBook-Pro ~ % cd inference_engine_demos_build
raylo@Raymonds-MacBook-Pro inference_engine_demos_build % make
So it seems the input.cpp is not compiling. Any patches I can use?
Thank you.
===
Scanning dependencies of target common
[ 48%] Building CXX object multi_channel/common/CMakeFiles/common.dir/decoder.cpp.o
[ 49%] Building CXX object multi_channel/common/CMakeFiles/common.dir/graph.cpp.o
[ 50%] Building CXX object multi_channel/common/CMakeFiles/common.dir/input.cpp.o
/Users/raylo/intel/openvino_2020.4.287/deployment_tools/inference_engine/demos/multi_channel/common/input.cpp:283:10: error:
'start' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
void start();
^
/Users/raylo/intel/openvino_2020.4.287/deployment_tools/inference_engine/demos/multi_channel/common/input.cpp:39:18: note:
overridden virtual function is here
virtual void start() = 0;
^
/Users/raylo/intel/openvino_2020.4.287/deployment_tools/inference_engine/demos/multi_channel/common/input.cpp:290:10: error:
'read' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
bool read(VideoFrame& frame);
^
/Users/raylo/intel/openvino_2020.4.287/deployment_tools/inference_engine/demos/multi_channel/common/input.cpp:41:18: note:
overridden virtual function is here
virtual bool read(VideoFrame& frame) = 0;
^
/Users/raylo/intel/openvino_2020.4.287/deployment_tools/inference_engine/demos/multi_channel/common/input.cpp:292:11: error:
'getAvgReadTime' overrides a member function but is not marked 'override'
[-Werror,-Winconsistent-missing-override]
float getAvgReadTime() const {
^
/Users/raylo/intel/openvino_2020.4.287/deployment_tools/inference_engine/demos/multi_channel/common/input.cpp:43:19: note:
overridden virtual function is here
virtual float getAvgReadTime() const = 0;
^
3 errors generated.
make[2]: *** [multi_channel/common/CMakeFiles/common.dir/input.cpp.o] Error 1
make[1]: *** [multi_channel/common/CMakeFiles/common.dir/all] Error 2
===
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I took out the Werror from the CMakeLists.txt in here
/opt/intel/openvino/deployment_tools/open_model_zoo/demos
I will just take on the warning for now and getting it compiled.
-ray
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I took out the Werror from the CMakeLists.txt in here
/opt/intel/openvino/deployment_tools/open_model_zoo/demos
I will just take on the warning for now and getting it compiled.
-ray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Raymond,
It seems you have solved the issue.
Intel will no longer monitor this thread since this issue has been resolved. If you need any additional information from Intel, please submit a new question.
Regards,
Rizal
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page