- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi everyone,
when i use the command: cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-march=armv7-a" ,
it results an error :
CMake Error at CMakeLists.txt:60 (find_package):
By not providing "FindInferenceEngine.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"InferenceEngine", but CMake did not find one.
Could not find a package configuration file provided by "InferenceEngine"
(requested version 1.5) with any of the following names:
InferenceEngineConfig.cmake
inferenceengine-config.cmake
Add the installation prefix of "InferenceEngine" to CMAKE_PREFIX_PATH or
set "InferenceEngine_DIR" to a directory containing one of the above files.
If "InferenceEngine" provides a separate development package or SDK, be
sure it has been installed.
Does anyone know the reason?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there cathay, did you follow the steps from here ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
did you solve the problem?can you help me? i have the same question. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear everyone, these errors look as if you have not run setupvars.sh . Please make sure you run it first ! Let me know if you have further issues.
Thanks,
Shubha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I just had the same problem on my raspberry pi 3b+ model and even after running the setupvars.sh, it was still giving me the same error. The following steps worked for me:
1. login as root user in terminal: sudo -i
2. run the setupvars.sh again: source /opt/intel/openvino/bin/setupvars.sh
3. cd to the build directory that I created as part of the procedure and then run the cmake command again: cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-march=armv7-a" /opt/intel/openvino/deployment_tools/inference_engine/samples
The rest of the procedure went smoothly.
Hope it helps someone.
Thanks,
Hasan

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page