WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] FFTW library  (Read 2538 times)

Offline Mucke

  • Newbie
  • *
  • Posts: 31
[Solved] FFTW library
« on: September 02, 2020, 09:06:59 AM »
Now I stuble into my next problem. The FFTW extension does not exist.
Thus I have downloaded the package from http://www.fftw.org/download.html.
The usual steps are
Code: [Select]
./configure
make
make install
This works like a charm, resulting without error.

But now I miss e.g. /usr/local/lib/libfftw.so whereas libfftw.a exists in this folder.
As FFTW is a huge package I don't know where to search.

So two questions come up:
1. how to get the missed .so-files?
2. how to get FFTW (or other software) permanently installed? Is it necessary to create a tcz and how to do this? The wiki seems to be down.

« Last Edit: September 03, 2020, 07:34:42 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: FFTW library
« Reply #1 on: September 02, 2020, 09:17:40 AM »
Hi Mucke
... 2. how to get FFTW (or other software) permanently installed? Is it necessary to create a tcz and how to do this? The wiki seems to be down.
Here is a mirror of the Wiki:
http://wiki.tinycorelinux.net/doku.php?id=wiki:start
« Last Edit: October 27, 2022, 09:38:36 PM by Rich »

Offline Mucke

  • Newbie
  • *
  • Posts: 31
Re: FFTW library
« Reply #2 on: September 02, 2020, 10:12:40 AM »
Hi Rich,

thanks.
So the main question remains left open: how to properly compile and install FFTW on PiCore?
Unfortunately it is beyond my Linux skills.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: FFTW library
« Reply #3 on: September 02, 2020, 10:26:50 AM »
Hi Mucke
... But now I miss e.g. /usr/local/lib/libfftw.so whereas libfftw.a exists in this folder. ...
I believe that is a static library. Try this:
Code: [Select]
./configure --enable-shared
Based on this:
Quote
configure supports all the standard flags defined by the GNU Coding Standards; see the INSTALL file in FFTW or the GNU web page. Note especially --help to list all flags and --enable-shared to create shared, rather than static, libraries. configure also accepts a few FFTW-specific flags, particularly:
Found here:
http://www.fftw.org/fftw3_doc/Installation-on-Unix.html#Installation-on-Unix

Offline Mucke

  • Newbie
  • *
  • Posts: 31
Re: FFTW library [solved]
« Reply #4 on: September 03, 2020, 04:51:51 AM »
Thanks Rich,

Code: [Select]
./configure --enable-shared is the proper solution.

As Brutefir also expects a float number version beside the default double-float it is necessary to compile a second time with first using

Code: [Select]
./configure --enable-shared --enable-float