我尝试使用英特尔movidius Myriad X VPU在我的树莓派4中运行gender_age示例(https://github.com/movidius/ncappzoo/tree/master/apps/gender_age),但出现错误
我按照教程https://software.intel.com/en-us/articles/get-started-with-neural-compute-stick操作,直到下一步: ncappzoo标题is my error
Intel OpenVINO environment is already set!
(mkdir -p build; cd build; cmake ..; make;)
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
INFERENCE_ENGINE_LIB
linked by target "gender_age" in directory /home/pi/Documents/ncappzoo/apps/gender_age
-- Configuring incomplete, errors occurred!
See also "/home/pi/Documents/ncappzoo/apps/gender_age/build/CMakeFiles/CMakeOutput.log".
make[1] : on entre dans le répertoire « /home/pi/Documents/ncappzoo/apps/gender_age/build »
make[1]: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
make[1] : on quitte le répertoire « /home/pi/Documents/ncappzoo/apps/gender_age/build »
make: *** [Makefile:68: compile_cpp] Error 2发布于 2019-10-14 23:40:28
本例中的CMake文件取决于OpenVino环境变量。假设您已经安装了OpenVino,使用它通常需要在当前命令提示符中或在系统环境变量中永久设置OpenVino environment variables。正如this answer所描述的,您可以分别设置它们,或者在继续执行cmake命令之前运行环境变量脚本:
> C:/path/to/your/openvino/opencv/setupvars.bat在命令提示符中运行此命令后,命令cmake ..应该能够访问这些环境变量(特别是INTEL_CVSDK_DIR)并成功生成buildsystem。然后,您可以使用make编译该示例。
https://stackoverflow.com/questions/58379477
复制相似问题