Issue
I've been following this https://blog.hackster.io/getting-started-with-the-intel-neural-compute-stick-2-and-the-raspberry-pi-6904ccfe963 and everything worked without problems until I had to execute the following instruction: cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-march=armv7-a"
The error I get is the following:
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.6) 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.
-- Configuring incomplete, errors occurred!
I looked up for some solution but haven't found anything that could solve this problem. Thanks in advance
Solution
CMake checks if you have all the required libraries installed on your computer. To do so, it uses one file per library that describes how to check if the library is installed. For the Inference Engine Files, it did not find any such file on the given paths. One way to fix this is to download the InferenceEngineConfig.cmake file from the internet (use a search engine) and to put it into a path where CMake will look for such files.
Answered By - Erik Nellessen