Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Sanz__Veronica
Beginner
311 Views

Building inference models-- error

Hello,

I am using the 2020 version of OpenVINO (OSX10.14), and when running 

> sudo ./build_demos.sh

I get a number of error messages, all seem related to the same issue: 'overridden virtual function is here...' 

I understand it has to do with C++, so I did upgrade conda and clang. The error persists. Here one of the errors:

 

In deployment_tools/open_model_zoo/demos/smart_classroom_demo/main.cpp:444:18: note:

      overridden virtual function is here

    virtual void PrintPerformanceCounts(

 

 

 

0 Kudos
9 Replies
SIRIGIRI_V_Intel
Employee
311 Views

Hi Veronica,

As per the official documentation the OpenVINO is supported on macOS 10.14.4 or higher versions.

Are you using a supported version?

For more information, Please refer the documentation.

Thanks,

Ram prasad

Sanz__Veronica
Beginner
311 Views

Yes, I did follow the specific documentation for 10.14. This doesn't seem to be the source of my problem, but thanks for pointing it out.

 

V.

SIRIGIRI_V_Intel
Employee
311 Views

Are you able to run the verification scripts?

Regards,

Ram prasad

Sanz__Veronica
Beginner
311 Views

Yes, Ram. I am able to run them. I did follow all the instructions in the documentation. My problem is specifically the one I described, let me repeat it here:

when trying to build inference demos, (openvino/inference_engine/demos) running the script (>sudo ./build_demos.sh) leads to the errors I mentioned.

I did look around for different solutions in the internet (including re-installing lots of stuff: clang, OpenCV, llvv, xcode TCL...), and have failed to find a solution.

That's why I am writing in this forum. Hope you guys can help with this!

Best regards,

 

Veronica.

SIRIGIRI_V_Intel
Employee
311 Views

Can you provide the complete logs after running the build_demos.sh command. So that it will be easy to debug from our end.

Regards,

Ram prasad

Sanz__Veronica
Beginner
311 Views

Dear Ram prasad, here the log:

 

Setting environment variables for building demos...

[setupvars.sh] OpenVINO environment initialized

-- The C compiler identification is AppleClang 11.0.0.11000033

-- The CXX compiler identification is AppleClang 11.0.0.11000033

-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc

-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++

-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Looking for C++ include unistd.h

-- Looking for C++ include unistd.h - found

-- Looking for C++ include stdint.h

-- Looking for C++ include stdint.h - found

-- Looking for C++ include sys/types.h

-- Looking for C++ include sys/types.h - found

-- Looking for C++ include fnmatch.h

-- Looking for C++ include fnmatch.h - found

-- Looking for C++ include stddef.h

-- Looking for C++ include stddef.h - found

-- Check size of uint32_t

-- Check size of uint32_t - done

-- Looking for strtoll

-- Looking for strtoll - found

-- Found OpenCV: /opt/intel/openvino_2020.1.023/opencv (found version "4.2.0") found components:  core imgproc

-- Found InferenceEngine: /opt/intel/openvino_2020.1.023/deployment_tools/inference_engine/lib/intel64/libinference_engine.dylib (Required is at least version "2.0")

-- Configuring done

CMake Warning (dev):

  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake

  --help-policy CMP0042" for policy details.  Use the cmake_policy command to

  set the policy and suppress this warning.

 

  MACOSX_RPATH is not specified for the following targets:

 

   format_reader

 

This warning is for project developers.  Use -Wno-dev to suppress it.

 

-- Generating done

-- Build files have been written to: /Users/veronicasanz/omz_demos_build

[  4%] Built target gflags_nothreads_static

[  9%] Built target format_reader

[ 13%] Built target monitors

Scanning dependencies of target segmentation_demo

Scanning dependencies of target super_resolution_demo

[ 15%] Built target object_detection_demo_faster_rcnn

[ 16%] Building CXX object multi_channel/common/CMakeFiles/common.dir/input.cpp.o

[ 18%] Built target mask_rcnn_demo

[ 20%] Building CXX object segmentation_demo/CMakeFiles/segmentation_demo.dir/main.cpp.o

[ 22%] Built target crossroad_camera_demo

[ 25%] Building CXX object super_resolution_demo/CMakeFiles/super_resolution_demo.dir/main.cpp.o

[ 29%] Built target text_detection_demo

[ 41%] Built target gaze_estimation_demo

[ 46%] Built target interactive_face_detection_demo

[ 47%] Linking CXX executable ../intel64/Release/human_pose_estimation_demo

[ 49%] Built target object_detection_demo_ssd_async

[ 51%] Built target object_detection_demo_yolov3_async

[ 61%] Built target pedestrian_tracker_demo

Scanning dependencies of target smart_classroom_demo

duplicate symbol '_main' in:

    CMakeFiles/human_pose_estimation_demo.dir/CMakeFiles/3.16.5/CompilerIdCXX/CMakeCXXCompilerId.cpp.o

    CMakeFiles/human_pose_estimation_demo.dir/main.cpp.o

ld: 1 duplicate symbol for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [intel64/Release/human_pose_estimation_demo] Error 1

make[1]: *** [human_pose_estimation_demo/CMakeFiles/human_pose_estimation_demo.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

[ 63%] Built target security_barrier_camera_demo

[ 66%] Building CXX object smart_classroom_demo/CMakeFiles/smart_classroom_demo.dir/src/align_transform.cpp.o

[ 66%] Building CXX object smart_classroom_demo/CMakeFiles/smart_classroom_demo.dir/src/action_detector.cpp.o

[ 66%] Building CXX object smart_classroom_demo/CMakeFiles/smart_classroom_demo.dir/main.cpp.o

[ 67%] Building CXX object smart_classroom_demo/CMakeFiles/smart_classroom_demo.dir/src/cnn.cpp.o

[ 68%] Building CXX object smart_classroom_demo/CMakeFiles/smart_classroom_demo.dir/src/detector.cpp.o

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:282:10: error:

      'start' overrides a member function but is not marked 'override'

      [-Werror,-Winconsistent-missing-override]

    void start();

         ^

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:39:18: note:

      overridden virtual function is here

    virtual void start() = 0;

                 ^

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:289:10: error:

      'read' overrides a member function but is not marked 'override'

      [-Werror,-Winconsistent-missing-override]

    bool read(VideoFrame& frame);

         ^

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:41:18: note:

      overridden virtual function is here

    virtual bool read(VideoFrame& frame) = 0;

                 ^

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:291:11: error:

      'getAvgReadTime' overrides a member function but is not marked 'override'

      [-Werror,-Winconsistent-missing-override]

    float getAvgReadTime() const {

          ^

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/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

[ 69%] Building CXX object smart_classroom_demo/CMakeFiles/smart_classroom_demo.dir/src/image_grabber.cpp.o

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/demos/smart_classroom_demo/main.cpp:518:10: error:

      'PrintPerformanceCounts' overrides a member function but is not marked

      'override' [-Werror,-Winconsistent-missing-override]

    void PrintPerformanceCounts(

         ^

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/demos/smart_classroom_demo/main.cpp:444:18: note:

      overridden virtual function is here

    virtual void PrintPerformanceCounts(

                 ^

1 error generated.

make[2]: *** [smart_classroom_demo/CMakeFiles/smart_classroom_demo.dir/main.cpp.o] Error 1

make[2]: *** Waiting for unfinished jobs....

[ 70%] Linking CXX executable ../intel64/Release/segmentation_demo

[ 70%] Built target segmentation_demo

[ 71%] Linking CXX executable ../intel64/Release/super_resolution_demo

[ 71%] Built target super_resolution_demo

make[1]: *** [smart_classroom_demo/CMakeFiles/smart_classroom_demo.dir/all] Error 2

make: *** [all] Error 2

Error on or near line 71; exiting with status 1

SIRIGIRI_V_Intel
Employee
311 Views

Which version of CMake are you using?

Thanks,

Ram prasad

shodangi__sujit
Beginner
311 Views

Hi Ram

 

I am also getting error . Please find the details. Let me know what i am missing. 

 

(base) RINMAC961:demos sujit.shodangi$ sh build_demos.sh 

 

Setting environment variables for building demos...

[setupvars.sh] OpenVINO environment initialized

-- The C compiler identification is AppleClang 10.0.1.10010046

-- The CXX compiler identification is AppleClang 10.0.1.10010046

-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc

-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++

-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Looking for C++ include unistd.h

-- Looking for C++ include unistd.h - found

-- Looking for C++ include stdint.h

-- Looking for C++ include stdint.h - found

-- Looking for C++ include sys/types.h

-- Looking for C++ include sys/types.h - found

-- Looking for C++ include fnmatch.h

-- Looking for C++ include fnmatch.h - found

-- Looking for C++ include stddef.h

-- Looking for C++ include stddef.h - found

-- Check size of uint32_t

-- Check size of uint32_t - done

-- Looking for strtoll

-- Looking for strtoll - found

-- Found OpenCV: /opt/intel/openvino_2020.1.023/opencv (found version "4.2.0") found components: core imgproc 

-- Found InferenceEngine: /opt/intel/openvino_2020.1.023/deployment_tools/inference_engine/lib/intel64/libinference_engine.dylib (Required is at least version "2.0") 

-- Configuring done

CMake Warning (dev):

  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake

  --help-policy CMP0042" for policy details.  Use the cmake_policy command to

  set the policy and suppress this warning.

 

  MACOSX_RPATH is not specified for the following targets:

 

   format_reader

 

This warning is for project developers.  Use -Wno-dev to suppress it.

 

-- Generating done

-- Build files have been written to: /Users/sujit.shodangi/omz_demos_build

Scanning dependencies of target gflags_nothreads_static

Scanning dependencies of target format_reader

Scanning dependencies of target monitors

[  1%] Building CXX object thirdparty/gflags/CMakeFiles/gflags_nothreads_static.dir/src/gflags.cc.o

[  2%] Building CXX object thirdparty/gflags/CMakeFiles/gflags_nothreads_static.dir/src/gflags_reporting.cc.o

[  3%] Building CXX object thirdparty/gflags/CMakeFiles/gflags_nothreads_static.dir/src/gflags_completions.cc.o

[  5%] Building CXX object common/monitors/CMakeFiles/monitors.dir/presenter.cpp.o

[  5%] Building CXX object common/monitors/CMakeFiles/monitors.dir/cpu_monitor.cpp.o

[  6%] Building CXX object common/monitors/CMakeFiles/monitors.dir/memory_monitor.cpp.o

[  7%] Building CXX object common/format_reader/CMakeFiles/format_reader.dir/MnistUbyte.cpp.o

[  8%] Building CXX object common/format_reader/CMakeFiles/format_reader.dir/bmp.cpp.o

[  9%] Building CXX object common/format_reader/CMakeFiles/format_reader.dir/format_reader.cpp.o

[ 10%] Building CXX object common/format_reader/CMakeFiles/format_reader.dir/opencv_wraper.cpp.o

[ 11%] Linking CXX static library ../../intel64/Release/lib/libmonitors.a

[ 12%] Linking CXX static library ../../intel64/Release/lib/libgflags_nothreads.a

[ 12%] Built target gflags_nothreads_static

[ 12%] Built target monitors

[ 13%] Linking CXX shared library ../../intel64/Release/lib/libformat_reader.dylib

Scanning dependencies of target object_detection_demo_faster_rcnn

Scanning dependencies of target common

Scanning dependencies of target object_detection_demo_ssd_async

Scanning dependencies of target object_detection_demo_yolov3_async

Scanning dependencies of target security_barrier_camera_demo

Scanning dependencies of target pedestrian_tracker_demo

[ 14%] Building CXX object object_detection_demo_faster_rcnn/CMakeFiles/object_detection_demo_faster_rcnn.dir/main.cpp.o

[ 15%] Building CXX object object_detection_demo_yolov3_async/CMakeFiles/object_detection_demo_yolov3_async.dir/main.cpp.o

[ 17%] Building CXX object object_detection_demo_ssd_async/CMakeFiles/object_detection_demo_ssd_async.dir/main.cpp.o

[ 18%] Building CXX object multi_channel/common/CMakeFiles/common.dir/decoder.cpp.o

[ 18%] Built target format_reader

[ 19%] Building CXX object security_barrier_camera_demo/CMakeFiles/security_barrier_camera_demo.dir/main.cpp.o

[ 20%] Building CXX object pedestrian_tracker_demo/CMakeFiles/pedestrian_tracker_demo.dir/main.cpp.o

Scanning dependencies of target crossroad_camera_demo

[ 21%] Building CXX object crossroad_camera_demo/CMakeFiles/crossroad_camera_demo.dir/main.cpp.o

Scanning dependencies of target mask_rcnn_demo

[ 22%] Building CXX object mask_rcnn_demo/CMakeFiles/mask_rcnn_demo.dir/main.cpp.o

[ 23%] Building CXX object multi_channel/common/CMakeFiles/common.dir/graph.cpp.o

[ 24%] Building CXX object pedestrian_tracker_demo/CMakeFiles/pedestrian_tracker_demo.dir/src/cnn.cpp.o

[ 25%] Linking CXX executable ../intel64/Release/mask_rcnn_demo

[ 25%] Built target mask_rcnn_demo

[ 26%] Building CXX object multi_channel/common/CMakeFiles/common.dir/input.cpp.o

[ 27%] Linking CXX executable ../intel64/Release/object_detection_demo_ssd_async

[ 27%] Built target object_detection_demo_ssd_async

[ 28%] Building CXX object pedestrian_tracker_demo/CMakeFiles/pedestrian_tracker_demo.dir/src/core.cpp.o

[ 29%] Linking CXX executable ../intel64/Release/object_detection_demo_yolov3_async

[ 29%] Built target object_detection_demo_yolov3_async

[ 30%] Building CXX object multi_channel/common/CMakeFiles/common.dir/output.cpp.o

[ 31%] Linking CXX executable ../intel64/Release/crossroad_camera_demo

/opt/intel/openvino/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:282:10: error: 'start' overrides a member function but is not marked 'override'

      [-Werror,-Winconsistent-missing-override]

    void start();

         ^

/opt/intel/openvino/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:39:18: note: overridden virtual function is here

    virtual void start() = 0;

                 ^

/opt/intel/openvino/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:289:10: error: 'read' overrides a member function but is not marked 'override'

      [-Werror,-Winconsistent-missing-override]

    bool read(VideoFrame& frame);

         ^

/opt/intel/openvino/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:41:18: note: overridden virtual function is here

    virtual bool read(VideoFrame& frame) = 0;

                 ^

/opt/intel/openvino/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:291:11: error: 'getAvgReadTime' overrides a member function but is not marked 'override'

      [-Werror,-Winconsistent-missing-override]

    float getAvgReadTime() const {

          ^

/opt/intel/openvino/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:43:19: note: overridden virtual function is here

    virtual float getAvgReadTime() const = 0;

                  ^

[ 31%] Built target crossroad_camera_demo

[ 32%] Building CXX object pedestrian_tracker_demo/CMakeFiles/pedestrian_tracker_demo.dir/src/detector.cpp.o

[ 34%] Linking CXX executable ../intel64/Release/object_detection_demo_faster_rcnn

Scanning dependencies of target text_detection_demo

[ 34%] Built target object_detection_demo_faster_rcnn

[ 35%] Building CXX object text_detection_demo/CMakeFiles/text_detection_demo.dir/main.cpp.o

[ 36%] Building CXX object multi_channel/common/CMakeFiles/common.dir/perf_timer.cpp.o

3 errors generated.

make[2]: *** [multi_channel/common/CMakeFiles/common.dir/input.cpp.o] Error 1

make[2]: *** Waiting for unfinished jobs....

[ 37%] Building CXX object pedestrian_tracker_demo/CMakeFiles/pedestrian_tracker_demo.dir/src/distance.cpp.o

Scanning dependencies of target gaze_estimation_demo

[ 38%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/main.cpp.o

Scanning dependencies of target human_pose_estimation_demo

[ 39%] Building CXX object human_pose_estimation_demo/CMakeFiles/human_pose_estimation_demo.dir/main.cpp.o

[ 40%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/exponential_averager.cpp.o

[ 41%] Building CXX object human_pose_estimation_demo/CMakeFiles/human_pose_estimation_demo.dir/src/human_pose.cpp.o

Scanning dependencies of target interactive_face_detection_demo

make[1]: *** [multi_channel/common/CMakeFiles/common.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

[ 42%] Building CXX object interactive_face_detection_demo/CMakeFiles/interactive_face_detection_demo.dir/detectors.cpp.o

[ 43%] Building CXX object text_detection_demo/CMakeFiles/text_detection_demo.dir/src/cnn.cpp.o

[ 44%] Building CXX object pedestrian_tracker_demo/CMakeFiles/pedestrian_tracker_demo.dir/src/kuhn_munkres.cpp.o

[ 45%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/face_detector.cpp.o

[ 46%] Building CXX object human_pose_estimation_demo/CMakeFiles/human_pose_estimation_demo.dir/src/human_pose_estimator.cpp.o

[ 47%] Linking CXX executable ../intel64/Release/security_barrier_camera_demo

[ 48%] Building CXX object interactive_face_detection_demo/CMakeFiles/interactive_face_detection_demo.dir/face.cpp.o

[ 48%] Built target security_barrier_camera_demo

[ 50%] Building CXX object human_pose_estimation_demo/CMakeFiles/human_pose_estimation_demo.dir/src/peak.cpp.o

[ 51%] Building CXX object pedestrian_tracker_demo/CMakeFiles/pedestrian_tracker_demo.dir/src/tracker.cpp.o

[ 52%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/face_inference_results.cpp.o

[ 53%] Building CXX object human_pose_estimation_demo/CMakeFiles/human_pose_estimation_demo.dir/src/render_human_pose.cpp.o

[ 54%] Building CXX object text_detection_demo/CMakeFiles/text_detection_demo.dir/src/image_grabber.cpp.o

[ 55%] Building CXX object pedestrian_tracker_demo/CMakeFiles/pedestrian_tracker_demo.dir/src/utils.cpp.o

[ 56%] Building CXX object text_detection_demo/CMakeFiles/text_detection_demo.dir/src/text_detection.cpp.o

[ 57%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/gaze_estimator.cpp.o

[ 58%] Building CXX object interactive_face_detection_demo/CMakeFiles/interactive_face_detection_demo.dir/main.cpp.o

[ 59%] Linking CXX executable ../intel64/Release/human_pose_estimation_demo

[ 59%] Built target human_pose_estimation_demo

[ 60%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/head_pose_estimator.cpp.o

[ 61%] Building CXX object text_detection_demo/CMakeFiles/text_detection_demo.dir/src/text_recognition.cpp.o

[ 62%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/ie_wrapper.cpp.o

[ 63%] Building CXX object interactive_face_detection_demo/CMakeFiles/interactive_face_detection_demo.dir/visualizer.cpp.o

[ 64%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/landmarks_estimator.cpp.o

[ 65%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/results_marker.cpp.o

[ 67%] Linking CXX executable ../intel64/Release/text_detection_demo

[ 67%] Built target text_detection_demo

[ 68%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/utils.cpp.o

[ 69%] Linking CXX executable ../intel64/Release/pedestrian_tracker_demo

[ 69%] Built target pedestrian_tracker_demo

[ 70%] Linking CXX executable ../intel64/Release/interactive_face_detection_demo

[ 70%] Built target interactive_face_detection_demo

[ 71%] Linking CXX executable ../intel64/Release/gaze_estimation_demo

[ 71%] Built target gaze_estimation_demo

make: *** [all] Error 2

Error on or near line 85; exiting with status 1

(base) RINMAC961:demos sujit.shodangi$ sudo ./build_demos.sh 

Password:

 

Setting environment variables for building demos...

[setupvars.sh] OpenVINO environment initialized

-- The C compiler identification is AppleClang 10.0.1.10010046

-- The CXX compiler identification is AppleClang 10.0.1.10010046

-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc

-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++

-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Looking for C++ include unistd.h

-- Looking for C++ include unistd.h - found

-- Looking for C++ include stdint.h

-- Looking for C++ include stdint.h - found

-- Looking for C++ include sys/types.h

-- Looking for C++ include sys/types.h - found

-- Looking for C++ include fnmatch.h

-- Looking for C++ include fnmatch.h - found

-- Looking for C++ include stddef.h

-- Looking for C++ include stddef.h - found

-- Check size of uint32_t

-- Check size of uint32_t - done

-- Looking for strtoll

-- Looking for strtoll - found

-- Found OpenCV: /opt/intel/openvino_2020.1.023/opencv (found version "4.2.0") found components: core imgproc 

-- Found InferenceEngine: /opt/intel/openvino_2020.1.023/deployment_tools/inference_engine/lib/intel64/libinference_engine.dylib (Required is at least version "2.0") 

-- Configuring done

CMake Warning (dev):

  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake

  --help-policy CMP0042" for policy details.  Use the cmake_policy command to

  set the policy and suppress this warning.

 

  MACOSX_RPATH is not specified for the following targets:

 

   format_reader

 

This warning is for project developers.  Use -Wno-dev to suppress it.

 

-- Generating done

-- Build files have been written to: /Users/sujit.shodangi/omz_demos_build

Scanning dependencies of target gflags_nothreads_static

Scanning dependencies of target format_reader

Scanning dependencies of target monitors

[  1%] Building CXX object thirdparty/gflags/CMakeFiles/gflags_nothreads_static.dir/src/gflags.cc.o

[  2%] Building CXX object thirdparty/gflags/CMakeFiles/gflags_nothreads_static.dir/src/gflags_reporting.cc.o

[  3%] Building CXX object thirdparty/gflags/CMakeFiles/gflags_nothreads_static.dir/src/gflags_completions.cc.o

[  4%] Building CXX object common/monitors/CMakeFiles/monitors.dir/presenter.cpp.o

[  5%] Building CXX object common/format_reader/CMakeFiles/format_reader.dir/MnistUbyte.cpp.o

[  6%] Building CXX object common/format_reader/CMakeFiles/format_reader.dir/bmp.cpp.o

[  7%] Building CXX object common/format_reader/CMakeFiles/format_reader.dir/format_reader.cpp.o

[  8%] Building CXX object common/monitors/CMakeFiles/monitors.dir/cpu_monitor.cpp.o

[  9%] Building CXX object common/monitors/CMakeFiles/monitors.dir/memory_monitor.cpp.o

[ 10%] Building CXX object common/format_reader/CMakeFiles/format_reader.dir/opencv_wraper.cpp.o

[ 11%] Linking CXX static library ../../intel64/Release/lib/libgflags_nothreads.a

[ 12%] Linking CXX static library ../../intel64/Release/lib/libmonitors.a

[ 12%] Built target gflags_nothreads_static

Scanning dependencies of target mask_rcnn_demo

Scanning dependencies of target common

Scanning dependencies of target object_detection_demo_faster_rcnn

[ 12%] Built target monitors

Scanning dependencies of target crossroad_camera_demo

Scanning dependencies of target text_detection_demo

Scanning dependencies of target gaze_estimation_demo

Scanning dependencies of target human_pose_estimation_demo

[ 13%] Building CXX object object_detection_demo_faster_rcnn/CMakeFiles/object_detection_demo_faster_rcnn.dir/main.cpp.o

[ 14%] Building CXX object mask_rcnn_demo/CMakeFiles/mask_rcnn_demo.dir/main.cpp.o

[ 15%] Building CXX object multi_channel/common/CMakeFiles/common.dir/decoder.cpp.o

[ 17%] Building CXX object crossroad_camera_demo/CMakeFiles/crossroad_camera_demo.dir/main.cpp.o

[ 18%] Building CXX object text_detection_demo/CMakeFiles/text_detection_demo.dir/main.cpp.o

[ 19%] Building CXX object human_pose_estimation_demo/CMakeFiles/human_pose_estimation_demo.dir/main.cpp.o

[ 20%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/main.cpp.o

[ 21%] Linking CXX shared library ../../intel64/Release/lib/libformat_reader.dylib

[ 21%] Built target format_reader

[ 22%] Building CXX object multi_channel/common/CMakeFiles/common.dir/graph.cpp.o

[ 23%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/exponential_averager.cpp.o

[ 24%] Building CXX object human_pose_estimation_demo/CMakeFiles/human_pose_estimation_demo.dir/src/human_pose.cpp.o

[ 25%] Building CXX object multi_channel/common/CMakeFiles/common.dir/input.cpp.o

[ 26%] Building CXX object human_pose_estimation_demo/CMakeFiles/human_pose_estimation_demo.dir/src/human_pose_estimator.cpp.o

[ 27%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/face_detector.cpp.o

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:282:10: error: 'start' overrides a member function but is not marked

      'override' [-Werror,-Winconsistent-missing-override]

    void start();

         ^

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:39:18: note: overridden virtual function is here

    virtual void start() = 0;

                 ^

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:289:10: error: 'read' overrides a member function but is not marked

      'override' [-Werror,-Winconsistent-missing-override]

    bool read(VideoFrame& frame);

         ^

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:41:18: note: overridden virtual function is here

    virtual bool read(VideoFrame& frame) = 0;

                 ^

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/demos/multi_channel/common/input.cpp:291:11: error: 'getAvgReadTime' overrides a member function but is not marked

      'override' [-Werror,-Winconsistent-missing-override]

    float getAvgReadTime() const {

          ^

/opt/intel/openvino_2020.1.023/deployment_tools/open_model_zoo/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[2]: *** Waiting for unfinished jobs....

Scanning dependencies of target interactive_face_detection_demo

[ 28%] Building CXX object interactive_face_detection_demo/CMakeFiles/interactive_face_detection_demo.dir/detectors.cpp.o

[ 29%] Building CXX object text_detection_demo/CMakeFiles/text_detection_demo.dir/src/cnn.cpp.o

[ 30%] Linking CXX executable ../intel64/Release/mask_rcnn_demo

[ 30%] Built target mask_rcnn_demo

[ 31%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/face_inference_results.cpp.o

[ 32%] Building CXX object human_pose_estimation_demo/CMakeFiles/human_pose_estimation_demo.dir/src/peak.cpp.o

make[1]: *** [multi_channel/common/CMakeFiles/common.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

[ 34%] Building CXX object interactive_face_detection_demo/CMakeFiles/interactive_face_detection_demo.dir/face.cpp.o

[ 35%] Linking CXX executable ../intel64/Release/crossroad_camera_demo

[ 35%] Built target crossroad_camera_demo

[ 36%] Building CXX object text_detection_demo/CMakeFiles/text_detection_demo.dir/src/image_grabber.cpp.o

[ 37%] Linking CXX executable ../intel64/Release/object_detection_demo_faster_rcnn

[ 37%] Built target object_detection_demo_faster_rcnn

[ 38%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/gaze_estimator.cpp.o

[ 39%] Building CXX object interactive_face_detection_demo/CMakeFiles/interactive_face_detection_demo.dir/main.cpp.o

[ 40%] Building CXX object text_detection_demo/CMakeFiles/text_detection_demo.dir/src/text_detection.cpp.o

[ 41%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/head_pose_estimator.cpp.o

[ 42%] Building CXX object human_pose_estimation_demo/CMakeFiles/human_pose_estimation_demo.dir/src/render_human_pose.cpp.o

[ 43%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/ie_wrapper.cpp.o

[ 44%] Building CXX object text_detection_demo/CMakeFiles/text_detection_demo.dir/src/text_recognition.cpp.o

[ 45%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/landmarks_estimator.cpp.o

[ 46%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/results_marker.cpp.o

[ 47%] Building CXX object interactive_face_detection_demo/CMakeFiles/interactive_face_detection_demo.dir/visualizer.cpp.o

[ 48%] Linking CXX executable ../intel64/Release/human_pose_estimation_demo

[ 48%] Built target human_pose_estimation_demo

[ 50%] Building CXX object gaze_estimation_demo/CMakeFiles/gaze_estimation_demo.dir/src/utils.cpp.o

[ 51%] Linking CXX executable ../intel64/Release/text_detection_demo

[ 51%] Built target text_detection_demo

[ 52%] Linking CXX executable ../intel64/Release/gaze_estimation_demo

[ 52%] Built target gaze_estimation_demo

[ 53%] Linking CXX executable ../intel64/Release/interactive_face_detection_demo

[ 53%] Built target interactive_face_detection_demo

make: *** [all] Error 2

Error on or near line 85; exiting with status 1

(base) RINMAC961:demos sujit.shodangi$ CMake --version

cmake version 3.17.0

 

CMake suite maintained and supported by Kitware (kitware.com/cmake).

(base) RINMAC961:demos sujit.shodangi$ 

Quek__Kar_Tung
Beginner
311 Views

I have similar errors:

 

[ 47%] Built target mask_rcnn_demo

Scanning dependencies of target common

[ 48%] Building CXX object multi_channel/common/CMakeFiles/common.dir/decoder.cpp.o

[ 50%] Building CXX object multi_channel/common/CMakeFiles/common.dir/graph.cpp.o

[ 51%] Building CXX object multi_channel/common/CMakeFiles/common.dir/input.cpp.o

/opt/intel/openvino/deployment_tools/inference_engine/demos/multi_channel/common/input.cpp:282:10: error: 'start' overrides a member

      function but is not marked 'override' [-Werror,-Winconsistent-missing-override]

    void start();

         ^

/opt/intel/openvino/deployment_tools/inference_engine/demos/multi_channel/common/input.cpp:39:18: note: overridden virtual function is

      here

    virtual void start() = 0;

                 ^

/opt/intel/openvino/deployment_tools/inference_engine/demos/multi_channel/common/input.cpp:289:10: error: 'read' overrides a member

      function but is not marked 'override' [-Werror,-Winconsistent-missing-override]

    bool read(VideoFrame& frame);

         ^

/opt/intel/openvino/deployment_tools/inference_engine/demos/multi_channel/common/input.cpp:41:18: note: overridden virtual function is

      here

    virtual bool read(VideoFrame& frame) = 0;

                 ^

/opt/intel/openvino/deployment_tools/inference_engine/demos/multi_channel/common/input.cpp:291:11: error: 'getAvgReadTime' overrides a

      member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]

    float getAvgReadTime() const {

          ^

/opt/intel/openvino/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

make: *** [all] Error 2

 

My Mac OS, CMake, and Python versions all met the requirements. I was also successful in running the demos after installing OpenVINO toolkit.

Hope someone could help.

Thank you.