如何编译独立的 FFTW 库?

发布于 2024-09-14 04:15:17 字数 108 浏览 4 评论 0原文

我需要从 FFTW 源代码在 Ubuntu 10.04 中编译一个独立的 .a 或 .so 库。我发现源代码发行版的目录布局非常复杂,我不知道从哪里开始。

我还需要使用旧版本的 gcc。

I need to compile a standalone .a or .so library in Ubuntu 10.04 from the FFTW source code. I find that the directory layout of the source distribution is so complex that I have no idea where to start.

I need to use an older version of gcc as well.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

月亮是我掰弯的 2024-09-21 04:15:17

如果您只想让库安装 libfftw3-dev 软件包,

http://packages.ubuntu.com/lucid/amd64/libfftw3-dev/filelist

要从源代码构建,请按照手册中的简单步骤操作,

http://www.fftw.org/fftw3_doc/Installation-on-Unix.html#Installation-on-Unix

它实际上是使用软件的每一个 autoconf 的基本安装:

./configure
make
make install

If you just want the libraries install the libfftw3-dev package,

http://packages.ubuntu.com/lucid/amd64/libfftw3-dev/filelist

To build from source follow the trivial steps from the manual,

http://www.fftw.org/fftw3_doc/Installation-on-Unix.html#Installation-on-Unix

It's literally the basic installation of every piece of autoconf using software ever:

./configure
make
make install
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文