Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
5541 Discussions

OpenVINO Demo Compile Error (Mac OSX 10.15.6)

raymondlo84
New Contributor I
283 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
265 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

2 Replies
raymondlo84
New Contributor I
266 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

Rizal_Intel
Moderator
252 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