0

我一直在关注这个https://blog.hackster.io/getting-started-with-the-intel-neural-compute-stick-2-and-the-raspberry-pi-6904ccfe963并且一切正常,直到我必须执行以下指令:cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-march=armv7-a"
我得到的错误如下:

  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!

我查找了一些解决方案,但没有找到任何可以解决此问题的方法。提前致谢

4

1 回答 1

1

CMake 会检查您的计算机上是否安装了所有必需的库。为此,它对每个库使用一个文件,该文件描述了如何检查该库是否已安装。对于推理引擎文件,它没有在给定路径上找到任何此类文件。解决此问题的一种方法是从 Internet 下载 InferenceEngineConfig.cmake 文件(使用搜索引擎)并将其放入 CMake 将查找此类文件的路径中。

于 2019-09-04T12:05:55.363 回答