【问题标题】:When installing cvxopt , I get an error that it cannot find -lgfortan安装 cvxopt 时,出现找不到 -lgfortan 的错误
【发布时间】:2014-02-23 14:07:47
【问题描述】:

我只能找到libgfortan.a。我正在使用 cmd 安装 cvxopt 并遵循instruction on the website。我收到一个错误,它找不到-lgfortan

【问题讨论】:

标签: windows fortran gfortran cvxopt


【解决方案1】:

-lgfortranexpandedlinkerlibgfortran.a。您的问题是您可能没有它在链接器的搜索路径上。您可以将 libgfortran.a 复制到您的 src 目录中,就像对 lapack and blas 所做的那样

将libblas.a和liblapack.a复制到src目录

或在链接命令中通过-L<dir> 指定gfortran 搜索路径。

【讨论】:

    猜你喜欢
    • 2014-03-05
    • 1970-01-01
    • 1970-01-01
    • 2017-11-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多