- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using openvino/ubuntu20_runtime:2021.4 image and trying to build a cpp application inside the docker container. However, I see the below error (screenshot attached).
Could not find a package configuration file provided by "ngraph" with any
of the following names:
ngraphConfig.cmake
ngraph-config.cmake
Add the installation prefix of "ngraph" to CMAKE_PREFIX_PATH or set
"ngraph_DIR" to a directory containing one of the above files. If "ngraph"
provides a separate development package or SDK, be sure it has been
installed.
The env variable ngraph_DIR is set to /opt/intel/openvino/deployment_tools/ngraph/cmake/
and this path also contains these files:
ngraphConfig.cmake
ngraphConfigVersion.cmake
ngraphTargets-release.cmake
ngraphTargets.cmake
Any idea why am I still seeing this error? Thank you for the help.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Preetika,
Thanks for reaching out to us.
As I know, when we source the setupvars.sh, the environment variable ngraph_DIR is set and this setupvars.sh is source once the docker image is ran.
You may try to add ngraph_DIR to that directory in the CMakeLists.txt file. You may refer to this article.
Since the openvino runtime package does not include any demo and samples, hence I download Open Model Zoo demo applications from the GitHub repository and able to build the C++ demos.
git clone https://github.com/openvinotoolkit/open_model_zoo.git
cd open_model_zoo/demos
./build_demos.sh
Regards,
Peh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Preetika,
This thread will no longer be monitored since we have provided suggestion. If you need any additional information from Intel, please submit a new question.
Regards,
Peh
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page