I am experencing the same issue. If optipng is compiled with msvc, wildargs.c may not work as expected.Link with setargv.obj instead of wildargs.obj as documented in https://docs.microsoft.com/en-us/cpp/c-language/expanding-wildcard-arguments should resolve this issue.
Same issue. If compiled with msvc, wildargs.c may not work as expected.Link with setargv.obj instead of wildargs.obj as documented in https://docs.microsoft.com/en-us/cpp/c-language/expanding-wildcard-arguments should solve this issue.