Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

OpenCVConfig.cmake Error

Comments

3 comments

  • Andrey Terentyev
    • Network Optix team

    Hello,

    Building with mingw compilers is not supported. Even if you succeed the plugin won't be binary compatible. Try switching to Visual Studio instead.

     

    0
  • Karmik Barodia

    Hi Andrey,

    i am using 
    cmake -B <build_dir> <src_dir> -DCMAKE_BUILD_TYPE=Release -DmetadataSdkDir=<unpacked_zip_dir>
    cmake --build <build_dir> --config Release --target openvino_object_detection_analytics_plugin_zip

    the above commands and specifying the paths, so the commands initially gave me errors like InferenceEngine.cmake is missing and OpenCVCinfig.cmake is missing

    i added 
    set(OpenVINO_DIR "C:/openvino_2025/openvino_toolkit_windows_2025.2.0.19140.c01cd93e24d_x86_64/runtime/cmake")
    find_package(OpenVINO REQUIRED) 
    in my CMakeLists.txt located at "C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\CMakeLists.txt"

    is it possible to for you guys to schdeule a call over meets and discuss this issue, i facing some issues and i need to get them solved. 



    the main issue is i am unable to build an openvino plugin through your nx-open-integration github documentation, and please i have gone through every documentation provided by you. if its possible for you guys to schedule a call please reach me out at karmikbarodia0902@gmail.com

    0
  • Karmik Barodia

    C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools>cmake --build "C:/develop/nx_open_integrations/cpp/vms_server_plugins/openvino_object_detection_analytics_plugin/build" --config Release
    Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.

     1>Checking Build System
     Building Custom Rule C:/develop/metadata_sdk/nx_kit/CMakeLists.txt
     utils.cpp
     debug.cpp
     ini_config.cpp
     output_redirector.cpp
     test.cpp
     json.cpp
     nx_kit.vcxproj -> C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\b
     uild\nx_kit\Release\nx_kit.lib
     Building Custom Rule C:/develop/nx_open_integrations/cpp/vms_server_plugins/openvino_object_detection_analytics_plugi
     n/CMakeLists.txt
     consuming_device_agent.cpp
     engine.cpp
     engine_info.cpp
     event_metadata.cpp
     event_metadata_packet.cpp
     metadata_types.cpp
     object_metadata.cpp
     object_metadata_packet.cpp
     object_track_best_shot_packet.cpp
     object_track_info.cpp
     pixel_format.cpp
     plugin.cpp
     timestamped_object_metadata.cpp
     action_response.cpp
     active_setting_changed_action.cpp
     active_setting_changed_response.cpp
     attribute.cpp
     device_info.cpp
     error.cpp
     lib_context.cpp
     Generating Code...
     Compiling...
     log_utils.cpp
     media_stream_statistics.cpp
     plugin_diagnostic_event.cpp
     settings_response.cpp
     string.cpp
     string_list.cpp
     string_map.cpp
     to_string.cpp
     uuid_helper.cpp
     Generating Code...
     nx_sdk.vcxproj -> C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\b
     uild\Release\nx_sdk.lib
     Building Custom Rule C:/develop/nx_open_integrations/cpp/vms_server_plugins/openvino_object_detection_analytics_plugi
     n/CMakeLists.txt
     kuhn_munkres.cpp
     tracking_by_matching.cpp
     Generating Code...
     opencv_tbm.vcxproj -> C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plug
     in\build\Release\opencv_tbm.lib
     Building Custom Rule C:/develop/nx_open_integrations/cpp/vms_server_plugins/openvino_object_detection_analytics_plugi
     n/CMakeLists.txt
     network.cpp
    C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\src\lib\network.h(8,1
    0): fatal error C1083: Cannot open include file: 'inference_engine.hpp': No such file or directory [C:\develop\nx_open_
    integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\build\openvino_object_detection_analytic
    s_plugin.vcxproj]
     object_detection_processor.cpp
    C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\src\lib\object_detect
    or.h(9,10): fatal error C1083: Cannot open include file: 'inference_engine.hpp': No such file or directory [C:\develop\
    nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\build\openvino_object_detection_
    analytics_plugin.vcxproj]
     object_detector.cpp
    C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\src\lib\object_detect
    or.h(9,10): fatal error C1083: Cannot open include file: 'inference_engine.hpp': No such file or directory [C:\develop\
    nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\build\openvino_object_detection_
    analytics_plugin.vcxproj]
     object_tracker_utils.cpp
     openvino_log_utils.cpp
    C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\src\lib\openvino_log_
    utils.h(5,10): fatal error C1083: Cannot open include file: 'inference_engine.hpp': No such file or directory [C:\devel
    op\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\build\openvino_object_detecti
    on_analytics_plugin.vcxproj]
     person_re_id.cpp
    C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\src\lib\person_re_id.
    h(14,10): fatal error C1083: Cannot open include file: 'inference_engine.hpp': No such file or directory [C:\develop\nx
    _open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\build\openvino_object_detection_an
    alytics_plugin.vcxproj]
     person_tracker.cpp
    C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\src\lib\person_re_id.
    h(14,10): fatal error C1083: Cannot open include file: 'inference_engine.hpp': No such file or directory [C:\develop\nx
    _open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\build\openvino_object_detection_an
    alytics_plugin.vcxproj]
     roi_processor.cpp
     track.cpp
     utils.cpp
    C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\src\lib\utils.h(8,10)
    : fatal error C1083: Cannot open include file: 'inference_engine.hpp': No such file or directory [C:\develop\nx_open_in
    tegrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\build\openvino_object_detection_analytics_
    plugin.vcxproj]
     device_agent.cpp
    C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\src\lib\object_detect
    or.h(9,10): fatal error C1083: Cannot open include file: 'inference_engine.hpp': No such file or directory [C:\develop\
    nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\build\openvino_object_detection_
    analytics_plugin.vcxproj]
     engine.cpp
    C:\develop\nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\src\lib\object_detect
    or.h(9,10): fatal error C1083: Cannot open include file: 'inference_engine.hpp': No such file or directory [C:\develop\
    nx_open_integrations\cpp\vms_server_plugins\openvino_object_detection_analytics_plugin\build\openvino_object_detection_
    analytics_plugin.vcxproj]
     Generating Code...


    C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools>cmake --build "C:/develop/nx_open_integrations/cpp/vms_server_plugins/openvino_object_detection_analytics_plugin/build" --config Release

    after running the above command i got this error

     

    0

Please sign in to leave a comment.