DeepMatching 在ubuntu 16.04安装配置

本文档详细记录了在Ubuntu 16.04上安装DeepMatching过程中遇到的错误及解决方法,包括解决"找不到/usr/lib64/atlas/libsatlas.so文件"的问题,修复gfortran的未定义引用错误,以及处理库文件不匹配的错误。最终成功采用特定版本的makefile并选择Python版本进行运行。
摘要由CSDN通过智能技术生成


DeepMatching主页:http://lear.inrialpes.fr/src/deepmatching/

安装

下载安装了其中的CPU版本:
Version 1.2.2
1. 下载压缩包:
deepmatching_1.2.2.zip
2. 解压开后

make clean all

一直出现错误:
下面是具体错误,最终可以使用的makefile版本往下拖拖拖。。。

错误1:“找不到/usr/lib64/atlas/libsatlas.so文件”

所以,借鉴大家的智慧:
参考:https://blog.csdn.net/xczexcel/article/details/79574740
http://xiuyuliang.cn/2014/12/05/deepmatching/

#先装库:(一般都装过)
sudo apt-get install libatlas_dev
sudo apt-get install libatlas_base_dev

#然后在路径 /usr/lib下:

sudo ld -shared -o libsatlas.so --whole-archive libatlas.a liblapack.a --no-whole-archive libf77blas.a libcblas.a

#修改 makefile 文件:
LAPACKLDFLAGS=/usr/lib64/atlas/libsatlas.so
改为LAPACKLDFLAGS=/usr/lib/libsatlas.so

错误2:关于gfortran的未定义的引用


                
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值