Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.

Caffe installation error

Community Manager

NCSDK version - 2.05


The installation process fails during installation of caffe.


I got the following error message.


make[3]: *** [src/caffe/CMakeFiles/proto.dir///include/caffe/proto/] Error 1


make[3]: Leaving directory '/opt/movidius/ssd-caffe/build'


CMakeFiles/Makefile2:235: recipe for target 'src/caffe/CMakeFiles/proto.dir/all' failed


make[2]: *** [src/caffe/CMakeFiles/proto.dir/all] Error 2


make[2]: Leaving directory '/opt/movidius/ssd-caffe/build'


Makefile:127: recipe for target 'all' failed


make[1]: *** [all] Error 2


make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'


Installation failed. Error on line 679


Makefile:47: recipe for target 'install' failed


make: *** [install] Error 1


Could someone help in resolving this issue? Thanks.

0 Kudos
3 Replies
Community Manager



Try below.


$ g++ --version $ protoc --version $ sudo apt remove libprotoc-dev $ sudo apt install libprotoc-dev $ protoc --version $ make install


libprotoc-dev 2.6.1
Community Manager

@PINTO I tried the above steps, libprotoc-dev 2.6.1 has been installed. Still facing the exact same issue. Also I am trying to install ncsdk2 on Ubuntu 16.04.


Is there a specific version of g++ which has to be installed or are there some other dependencies which are missing?


Any suggestion would be really helpful. Thanks.

Community Manager

Hi, @abhi


I can not get the answer in the next article yet, but what happens if you raise the version of protobuf?


By the way, I do not like to encounter the Caffe problem, so I am always starting with installing the OS cleanly.


It is a difficult problem because I never failed in my environment.


Both Ubuntu 16.04 and Raspbian are essentially the same.


Also, I realize that problems will occur frequently if Caffe is already installed before installing NCSDK.


If Caffe has already been installed, what happens if you uninstall it once?


Still it does not work.


As for Caffe/pycaffe problem, there are many posts in the forum, so please try searching.


Many engineers are suffering from the same problem.