Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
445 Views

Caffe installation error

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/caffe.pb.cc.o] 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.

Tags (2)
0 Kudos
3 Replies
idata
Community Manager
90 Views

@abhi

 

Try below.

 

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

 

https://packages.ubuntu.com/search?keywords=libprotoc&searchon=names&suite=xenial&section=all

 

libprotoc-dev 2.6.1
idata
Community Manager
90 Views

@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.

idata
Community Manager
90 Views

Hi, @abhi

 

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

 

https://ncsforum.movidius.com/discussion/comment/3076/#Comment_3076

 

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.

 

https://ncsforum.movidius.com/discussion/946/procedure-for-installing-ncsdk-v2-05-00-02-to-raspberry...

 

https://ncsforum.movidius.com/discussion/948/procedure-for-make-examples-ncsdk-v2-05-00-02-raspberry...

 

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.
Reply