【openvino系列教程(五)】常见error及解决办法

一、Undefined symbol

1. 描述

  • 无法成功调用openvino
    ./xxxxx -i ./xxxx.mp4 -o ./tmp.mp4

  • log如下:

    undefined symbol: _ZN3tbb10interface78internal15task_arena_base24internal_max_concurrencyEPKNS0_10task_arenaE
    

2. 解决方案

  • 一次性

    source /opt/intel/openvino/bin/setupvars.sh
    
  • 一劳永逸

    echo source /opt/intel/openvino/bin/setupvars.sh >> /etc/profile && source /etc/profile
    

二、error:libtbb.so.2

1. 描述

  • 找不到libtbb.so.2
    error:libtbb.so.2: cannot open shared object file: No such file or directory
    

2. 解决方案

  • 有可能是当前环境变量未生效
    source /etc/profile
    

必须将openvino放在/opt/intel目录下编译才可以。

三、error: libtbb_debug.so.2

1. 描述

  • 找不到libtbb_debug.so.2
open the openvino so:libxnn_openvino.so failed, error:libtbb_debug.so.2: cannot open shared object file: No such file or directory

2. 解决方案


三、Error loading xmlfile:

1. 描述

due to unexpected exception with message:
 Error loading xmlfile: /data/home/B/XXXX/AAA/
  XXXX/test/AAA/CCC/XXXX/XXX.xml, File was not found at
  line: 1 pos: 0

2. 解决方案

  • TP参数的根路径设置不正确,请重新设置
     /data/home/B/XXXX/AAAA/XXXX/
    

四、CMake Error: BOOST_ROOT

1. 描述

CMake Error at /usr/local/share/cmake-3.12/Modules/FindBoost.cmake:2048 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.

2. 解决

yum install boost-devel
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值