There seems to be a problem building INDI 1.9.9 on Windows with MSYS2. My build environment is as follows:
MSYS2 - Mingw64 and,
MSYS2 - clang64.
ucrt64 and clang64 environments
After running cmake and then mingw32-make the build fails with:
indi\libs\indidevice\indiutility.cpp:49:51: error: too many arguments to function 'int mkdir(const char*)'
This appears to be caused by mkdir() requiring one parameter when there are two parameters at line 49 of indiutility.cpp. I have "fixed" this problem by making the following change: