본문 바로가기
인공능지 & 머선러닝/Caffe

Caffe CPU version 설치 및 에러해결

by 능지처참 2020. 11. 26.

gflags.h를 찾지 못하는 에러

fatal error: gflags/gflags.h:No such file or directory

wget https://github.com/schuhschuh/gflags/archive/master.zip

unzip master.zip

cd gflags-master

mkdir build && cd build

export CXXFLAGS="-fPIC" && cmake .. && make VERBOSE=1

make

sudo make install

 

logging.h를 찾지 못하는 에러

fatal error: glog/logging.h: 그런 파일이나 디렉터리가 없습니다

 

sudo apt-get install libgoogle-glog-dev

cblas.h를 찾지 못하는 에러

sudo apt-get install libopenblas-dev

 

lmdb.h를 찾지 못하는 에러

sudo apt-get install liblmdb-dev

 

-lcblas를 찾지 못하는 에러

sudo apt-get install libatlas-base-dev

'인공능지 & 머선러닝 > Caffe' 카테고리의 다른 글

Caffe control  (0) 2020.10.10

댓글