![](/img/trans.png)
[英]Caffe install error on Ubuntu 16.04 for CUDA 8.0 & cuDNN 5.1
[英]Caffe compilation error on Ubuntu 16.04
我認為我幾乎遵循了以下所有說明: https : //github.com/BVLC/caffe/wiki/Ubuntu-16.04-or-15.10-Installation-Guide 。
我仍然收到錯誤:
/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
有人遇到過這個嗎?
您安裝了OpenBLAS嗎? 嘗試使用以下命令並重復編譯過程:
sudo apt-get install -y libopenblas-dev
如果失敗,則可以嘗試使用cmake填充caffe。
在構建文件夾中,執行以下操作:
cmake -DBLAS=open ..
make all -j $(($(nproc) + 1))
make install
make runtest
您應該提供配置文件以更好地理解鏈接。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.