I met some problem when I installed NCSDK2 on my machine where the environment is Ubuntu Linux 16.04 (64-bit). I follow the instructions here. My operations are as follow:
- Clone the repository from GitHub:
$ git clone -b ncsdk2 http://github.com/Movidius/ncsdk
- Perform the Makefile to install:
$ cd ncsdk && make install
- Then, the error message is as follow:
... src/caffe/CMakeFiles/caffe.dir/build.make:422: recipe for target 'src/caffe/CMakeFiles/caffe.dir/util/bbox_util.cpp.o' failed make: *** [src/caffe/CMakeFiles/caffe.dir/util/bbox_util.cpp.o] Error 1 src/caffe/CMakeFiles/caffe.dir/build.make:470: recipe for target 'src/caffe/CMakeFiles/caffe.dir/util/io.cpp.o' failed make: *** [src/caffe/CMakeFiles/caffe.dir/util/io.cpp.o] Error 1 make: Leaving directory '/opt/movidius/ssd-caffe/build' CMakeFiles/Makefile2:272: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed make: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2 make: Leaving directory '/opt/movidius/ssd-caffe/build' Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 make: Leaving directory '/opt/movidius/ssd-caffe/build' Installation failed. Error on line 673 Makefile:47: recipe for target 'install' failed make: *** [install] Error 1
Is anyone know how to fix it? I have already searched on the Google and Stackoverflow but I don't get any solution.
Thank you for reaching out! There may be an issue with the dependencies for Caffe which are causing the failure. Could you try running the following commands to re-install and send me the log file? Are you installing on a fresh Ubuntu install? Try running
sudo apt-get update && sudo apt-get upgrade.
make install 2>&1 | tee install.log
Thank you for sharing the logs, it appears you have OpenCV version 4.0.1 installed. Other users have reported installation errors when this version is present.
Try the following steps to install the NCSDK:
- Uninstall OpenCV v4.0.1
- make uninstall && make clean (ncsdk directory)
- make install
- Re-install OpenCV v4.0.1
The NCSDK includes a script to install opencv v3.3.0, you may run into other issues as we have not tested v4.0.1.
Let me know if this helps!
i am using ubuntu lts 16.04 and installing ncsdk v2 after installing ncsdk 1 but facing this error if you could help me with
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-2mmjo01w/
You are using pip version 8.1.1, however version 20.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Makefile:47: recipe for target 'install' failed
make: *** [install] Error 131
Installation failed: Command 'sudo -E -H pip3 install --trusted-host files.pythonhosted.org --trusted-host www.piwheels.org tensorflow==1.11.0' return code=1. Error on line 324 in ./install-utilities.sh. Will exit
i have updated the pip version but again getting this error
thanks in advance