2017-02-20 8 views
1

나는 거의 모든 지시 사항을 따라 갔다고 생각한다. https://github.com/BVLC/caffe/wiki/Ubuntu-16.04-or-15.10-Installation-Guide.우분투에서 Caffe 컴파일 오류 16.04

/usr/bin/ld: cannot find -lopenblas 
collect2: error: ld returned 1 exit status 
Makefile:567: recipe for target '.build_release/lib/libcaffe.so.1.0.0-rc3' failed 
make: *** [.build_release/lib/libcaffe.so.1.0.0-rc3] Error 

사람이 건너 수 :

난 여전히 오류가?

+1

[usr/bin/ld : -l ]을 (를) 찾을 수 없습니다 (http://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary) – tripleee

답변

2

OpenBLAS를 설치 했습니까? compillation 프로세스를 다음 명령을 시도하고 반복 :

sudo apt-get install -y libopenblas-dev 

실패하면, 당신은 cmake와 CAFFE을 compilling 시도 할 수 있습니다. 빌드 폴더에서

는 수행

cmake -DBLAS=open .. 
make all -j $(($(nproc) + 1)) 
make install 
make runtest 

당신은 더 나은 링크를 이해하는 설정 파일을 제공해야합니다.

관련 문제