caffe编译错误:make: protoc: Command not found

在xavier NX上面编译caffe源码时报错,

PROTOC src/caffe/proto/caffe.proto
CXX src/caffe/blob.cpp
make: protoc: Command not found
CXX src/caffe/layers/batch_reindex_layer.cpp
CXX src/caffe/layers/recurrent_layer.cpp
Makefile:642: recipe for target '.build_release/src/caffe/proto/caffe.pb.cc' failed

解决方法为:

sudo apt-get install  protobuf-compiler

 

你可能感兴趣的:(#,Caffe)