Problem building wxPython 4.1.1 on MSYS2

Some of the solutions that I tried :

  • Use MSYS python (with a virtualenv, as above, in order to use waf), or MINGW64 python (with waf provided by MSYS2) does not change the errors, except that for MINGW64 python we need to translate all paths from posix to windows-style paths
  • Use wxWidgets3.1 included in MSYS2, updated to be rebuilt on the exact same commit as in the submodule ext/wxWidgets, but with the compile options already used in MSYS2 for this package
  • Disable webview & webkit (following build wxpython with gtk2)
  • Use GTK3 instead of MS backend (produces other compilation errors which I did not investigate)
  • Disabling webkit & webview (as in Disable `WXWEBVIEW` (for GTK2 port on Fedora). · cykerway/Phoenix@bc1758f · GitHub) does not change the errors

Best regards,

Evan