Article ID: 000060150 Content Type: Troubleshooting Last Reviewed: 10/07/2022

Error: "Could not find a package configuration file provided by "ade"" When Building the OpenVINO™ toolkit from Source

Environment

Ubuntu 18.04

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Quick step to update the OpenVINO™ toolkit submodules to fix CMAKE configuration errors

Description

Building the OpenVINO™ toolkit from source returns error: Could not find a package configuration file provided by "ade"

The following error is seen when building OpenVINO toolkit from source:

CMake Error at thirdparty/fluid/modules/gapi/cmake/standalone.cmake:6 (find_package):
  By not providing "Findade.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ade", but
  CMake did not find one.

  Could not find a package configuration file provided by "ade" (requested
  version 0.1.0) with any of the following names:

    adeConfig.cmake
    ade-config.cmake

  Add the installation prefix of "ade" to CMAKE_PREFIX_PATH or set "ade_DIR"
  to a directory containing one of the above files.  If "ade" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  thirdparty/fluid/modules/gapi/CMakeLists.txt:6 (include)

-- Configuring incomplete, errors occurred!
See also "/home/user/openvino/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/openvino/build/CMakeFiles/CMakeError.log".

Resolution

Update the submodules from the OpenVINO toolkit GitHub repository:

cd openvino
git submodule update --init --recursive

Related Products

This article applies to 2 products