Community
cancel
Showing results for 
Search instead for 
Did you mean: 
thamml
Novice
364 Views

Cant compile HDDL on OpenVINO 2020.4 with Ubuntu 18.04

Jump to solution

I need an assistance on installing XM 2280 and running HDDL on OpenVINO.
My OS is Linux version 5.4.0-48-generic (buildd@lcy01-amd64-023) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04))

I completed installation according to
https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux.html#install-...
and successful run demo_security_barrier_camera.sh on 1. CPU 2. GPU and 3. MYRIAD* (on either Neural Stick 2 or XM 2280). * I tested them separately by unplugging one.

I proceed with the steps for the VPU installation
https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux_ivad_vpu.html but FAIL.

Here is the error I obtain.

root@thamml-NUC8i7BEH:/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl# ./
bin/ etc/ include/
config/ generate_udev_rules.sh install_IVAD_VPU_dependencies.sh
drivers/ hddl-bsl/ lib/
root@thamml-NUC8i7BEH:/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl# ./
bin/ etc/ include/
config/ generate_udev_rules.sh install_IVAD_VPU_dependencies.sh
drivers/ hddl-bsl/ lib/
root@thamml-NUC8i7BEH:/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl# ./install_IVAD_VPU_dependencies.sh
Can't get HDDL_INSTALL_DIR env. Please source your_openvino_intall_path/openvino/bin/setupvars.sh before running.
root@thamml-NUC8i7BEH:/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl# source /opt/intel/openvino/bin/setupvars.sh
[setupvars.sh] OpenVINO environment initialized
root@thamml-NUC8i7BEH:/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl# ./install_IVAD_VPU_dependencies.sh
Ubuntu18.04
Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-program-options1.65.1 is already the newest version (1.65.1+dfsg-0ubuntu5).
libusb-1.0-0 is already the newest version (2:1.0.21-2).
libelf-dev is already the newest version (0.170-0.4ubuntu0.1).
libjson-c3 is already the newest version (0.12.1-1.3ubuntu0.3).
libssl1.0.0 is already the newest version (1.0.2n-1ubuntu5.4).
libudev1 is already the newest version (237-3ubuntu10.42).
The following packages were automatically installed and are no longer required:
gir1.2-geocodeglib-1.0 libegl1-mesa libfwup1 libllvm8 ubuntu-web-launchers
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Copying to /etc/udev/rules.d/98-hddlbsl.rules
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Running install for component drv_vsc
if [[ "" != "" ]]; then sudo rmmod myd_vsc; fi;
make[1]: Entering directory '/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc'
rm -f .o *.ko *.order *.mod.c *.symvers ..cmd
rm -rf .tmp_versions
make[1]: Leaving directory '/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc'
make[1]: Entering directory '/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc'
make -C /lib/modules/uname -r/build M=$PWD ccflags-y+=
make[2]: Entering directory '/usr/src/linux-headers-5.4.0-48-generic'
AR /opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc/built-in.a
CC [M] /opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc/myd_vsc.o
Building modules, stage 2.
MODPOST 1 modules
CC [M] /opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc/myd_vsc.mod.o
LD [M] /opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc/myd_vsc.ko
make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-48-generic'
make[1]: Leaving directory '/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc'
mkdir -p /lib/modules/5.4.0-48-generic/kernel/drivers/myd/
cp myd_vsc.ko /lib/modules/5.4.0-48-generic/kernel/drivers/myd/myd_vsc.ko
Driver myd_vsc.ko is installed to /lib/modules/5.4.0-48-generic/kernel/drivers/myd/myd_vsc.ko
sudo depmod
modprobe: ERROR: could not insert 'myd_vsc': Operation not permitted
Makefile:74: recipe for target 'install' failed
make: *** [install] Error 1
Fail: myd_vsc don't been loaded!

0 Kudos
1 Solution
Iffa_Intel
Moderator
322 Views

Greetings,


First and foremost you need to

  1. Set the env variable: source /opt/intel/openvino/bin/setupvars.sh
  2. cd /opt/intel/openvino/deployment_tools/inference_engine/external/hddl
  3. ./install_IVAD_VPU_dependencies.sh (NOTE: do not use sudo)
  4. cd /opt/intel/openvino//deployment_tools/inference_engine/external/hddl/drivers
  5. sudo ./setup.sh install


You should ready to go after these steps are done.


Sincerely,

Iffa


View solution in original post

2 Replies
Iffa_Intel
Moderator
323 Views

Greetings,


First and foremost you need to

  1. Set the env variable: source /opt/intel/openvino/bin/setupvars.sh
  2. cd /opt/intel/openvino/deployment_tools/inference_engine/external/hddl
  3. ./install_IVAD_VPU_dependencies.sh (NOTE: do not use sudo)
  4. cd /opt/intel/openvino//deployment_tools/inference_engine/external/hddl/drivers
  5. sudo ./setup.sh install


You should ready to go after these steps are done.


Sincerely,

Iffa


View solution in original post

Iffa_Intel
Moderator
306 Views

Greetings,


Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question


Sincerely,

Iffa


Reply