Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6401 Discussions

OpenVINO Demo Compile Error (Mac OSX 10.15.6)

raymondlo84
New Contributor I
752 Views

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

 

===

0 Kudos
1 Solution
raymondlo84
New Contributor I
734 Views

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

View solution in original post

0 Kudos
2 Replies
raymondlo84
New Contributor I
735 Views

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

0 Kudos
Rizal_Intel
Moderator
721 Views

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


Reply