一、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