-pattern_type glob requires glob.h.
glob is defined in the POSIX standard and it’s not available on Windows by default.
Create/rename your files using sequential file naming image###.jpg then use sequence wildcards like -i image%03d.jpg as input.