Ubuntu 16.04上的Caffe编译错误

2024-05-21 06:19:47 发布

您现在位置:Python中文网/ 问答频道 /正文

我想我基本上遵循了以下所有说明: 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

有人见过这个吗?在


Tags: orhttpsbuildgithubcomreleaseubuntulib
1条回答
网友
1楼 · 发布于 2024-05-21 06:19:47

你安装了OpenBLAS吗?请尝试以下命令并重复编译过程:

sudo apt-get install -y libopenblas-dev

如果失败,可以尝试用cmake编译caffe。在

在“生成”文件夹中,执行以下操作:

^{pr2}$

您应该提供配置文件以更好地理解链接。在

相关问题 更多 >