Hi, if you just want to get exe file, it's not recommended to build in windows! Cross compiling in linux(fedora/centos/rhel is better) works fine, and is recommended by document , please read mingw-spec* file in source code for dependence