Right now MADZ expects the terminal invoking it to have called vcvarsall.bat in order to load visual c++ information. In order to make it orthogonal to invoking clang/mingw MADZ should either be configured to invoke vcvarsall within its own code or manually be configured with all information loaded by vcvarsall. This is most applicable to the visual studio solution, which might invoke an incorrect vcvarsall script.
Right now MADZ expects the terminal invoking it to have called vcvarsall.bat in order to load visual c++ information. In order to make it orthogonal to invoking clang/mingw MADZ should either be configured to invoke vcvarsall within its own code or manually be configured with all information loaded by vcvarsall. This is most applicable to the visual studio solution, which might invoke an incorrect vcvarsall script.