These packages are now available in MSYS2 (weren't in the past).
# Update package list, install/update all requirements.
pacman -Sy
pacman -S \
- autoconf automake libtool make pkg-config wget patch \
- $W-toolchain $W-glib2 $W-glibmm $W-libusb $W-check $W-boost \
+ autoconf automake autoconf-archive libtool make pkg-config wget patch \
+ $W-toolchain $W-glib2 $W-glibmm $W-libusb $W-libfdi $W-check $W-boost \
$W-libzip $W-doxygen $W-python3 $W-python3-numpy $W-python3-gobject \
- $W-python3-setuptools $W-swig $W-qt5-static $W-cmake
+ $W-python3-setuptools $W-swig $W-qt5-static $W-cmake $W-nsis
exit
fi