mirror of
https://git.vladimir.cc/vladimir/wdsp.git
synced 2026-08-25 17:27:33 +00:00
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:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user