Build FFTW from source instead of downloading pre-built DLLs

FFTW 3.3.11 has no pre-built Windows binaries, so Makefile.windows now
downloads the source tarball and cross-compiles it twice with MinGW-w64:
once for double precision and once for float (--enable-float), installing
both into third_party/fftw-win64/. Links with -lfftw3/-lfftw3f via
libtool-generated import libs instead of dlltool-generated ones.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-02 12:13:35 +03:00
co-authored by Claude Sonnet 4.6
parent ec93fbfcbb
commit 5bbf9698a8
2 changed files with 91 additions and 58 deletions
+4 -4
View File
@@ -87,19 +87,19 @@ make clean
## Windows build (кросс-компиляция с Linux)
Сборка выполняется на Linux с помощью MinGW-w64. FFTW скачивается автоматически.
Сборка выполняется на Linux с помощью MinGW-w64. FFTW скачивается и собирается из исходников автоматически.
### Зависимости
```bash
# Arch
sudo pacman -S mingw-w64-gcc unzip
sudo pacman -S mingw-w64-gcc
# Debian / Ubuntu
sudo apt install gcc-mingw-w64-x86-64 binutils-mingw-w64-x86-64 unzip
sudo apt install gcc-mingw-w64-x86-64 binutils-mingw-w64-x86-64
# Fedora
sudo dnf install mingw64-gcc mingw64-binutils unzip
sudo dnf install mingw64-gcc mingw64-binutils
```
Также нужен `wget` или `curl`.