caffe arm

依赖库:

sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev libgflags-dev libgoogle-glog-dev liblmdb-dev protobuf-compiler
sudo apt-get install libopenblas-base libopenblas-dev
sudo apt-get install git cmake adb
sudo apt-get install autoconf automake libtool cmake-gui

1、protobuf

网址:https://github.com/protocolbuffers/protobuf/releases

下载版本:protobuf-all-3.6.1.tar.gz

首先安装pc版本,

protoc –version 测试,如果提示缺少库,从/usr/local/lib目录拷贝到/usr/lib目录

PC安装protobuf

./configure
make -j4
sudo make install

arm编译protobuf

./configure --host=arm-linux-gnueabihf --with-protoc=protoc --prefix=/home/Your Name/dependLib/protobuf-3.6./

make -j4

make install

在 protobuf-3.6.1 目录下生成include和lib文件夹,就是需要的头文件和库

上一篇:hud3007 Buried memory


下一篇:[转]JDK6和JDK7中的substring()方法