【问题标题】:Building levmar on Mac Yosemite在 Mac Yosemite 上构建 levmar
【发布时间】:2016-08-10 07:02:30
【问题描述】:

您好,我想在 Mac 上构建 levmar (Levenberg Marquardt) C++ 库。它带有一个 makefile (http://users.ics.forth.gr/~lourakis/levmar/index.html),但我对如何在 Mac (Yosemite) 上使用它有一些疑问

(1) 我目前在Mac上安装的gcc其实是clang。如果我在终端上运行 gcc -v,我可以确认这一点。我应该在构建 levmar 之前安装正确的 gcc 吗?

(2) Levmar 建议使用 LAPACK(线性代数库)。同样,我一直在阅读另一个堆栈溢出帖子 (Trying to build the LEVMAR math library on a mac using the Accelerate Framework),他们正在使用 LAPACK 附带的 Mac OS Accelerate 框架。有谁知道我如何在优胜美地获得它?还是我应该先在 mac 上独立构建 LAPACK?

谢谢

【问题讨论】:

  • clang 编译器应该没问题,并且应该已经安装了 Accelerate 框架。

标签: c++ c macos gcc


【解决方案1】:

我使用了来自 Janos 发布的 Trying to build the LEVMAR math library on a mac using the Accelerate Framework 的 Makefile,它适用于使用 clang 和 Accelerate 框架的 levmar-2.6。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-02-22
    相关资源
    最近更新 更多