|
Installation | Build x64 | Build x86 | Developers | Notes | Questions | Sourceforge | Download |
Note: To create a usable FFTW 3.3.10 that will compile WSJTX 2.5.x or later you must use the script at https://fftw.org/pub/fftw/BUILD-MINGW64.sh. |
This stage involves deploying tools as if one were building Hamlib. Many required MSYS2 tools are deployed as part of this process.
Note that FFTW may require the POSIX low-level IO libraries and tools. These should be deployed first.
This should have now downloaded the build environment for MSYS2 – providing a POSIX-compliant environment in which FFTW libraries should be built.
The build environment must be set up so that the FFTW source can use the Qt-supplied GCC compilers.
Now we need to tell the MSYS2 environment HOW to find the Qt-delivered compilers..
The build environment should now be configured for building FFTW but using the Qt-supplied GCC compilers. This ensures that Qt-specific facilities are picked up as part of the FFTW library compilation process.
Determine the download URL of the latest stable FFTW release by browsing to http://www.fftw.org/download.html .
This downloads the source package.
A script BUILD-MINGW64.sh from http://www.fftw.org/install/windows.html needs to be dropped into into the source directory to assist with the Windows build of FFTW. If you are developing from a mingw32 environment then there is a 32-bit script needed.
Now we need to build the actual library
The above command places a .ZIP file containing the built FFTW 3.3.10 libraries in the source directory.
You will find a .ZIP file (i.e. fftw-3.3.10-dll64.zip) inside the MSYS2 build directory; ~/src/fftw-3.3.10 (Windows path C:\JTSDK64-Tools\tools\msys64\home\
You will need to open that ZIP file and extract its contents to a folder 3.3.10 under C:\JTSDK64-Tools\tools\ffts before it can be used with the JTSDK.
Make the appropriate adjustment in C:\JTSDK64-Tools\config\Versions.ini so that it can be used by the JTSDK (i.e. set fftwv=3.3.10 ).
Background | Author: Steve VK3VM/VK3SIR Contact |