Hugin, nona, enblend, enfuse etc... have no problem with '#' in filenames, but when hugin or pto2mk creates a .pto.mk Makefile, none of the '#' characters are '\#' escaped (and are interpreted as comments).
Manually editing the .pto.mk file and inserting lots of '\' fixes the problem, the project then stitches ok on the command-line.
Sorry, to clarify:
Hugin, nona, enblend, enfuse etc... have no problem with '#' in filenames, but when hugin or pto2mk creates a .pto.mk Makefile, none of the '#' characters are '\#' escaped (and are interpreted as comments).
Manually editing the .pto.mk file and inserting lots of '\' fixes the problem, the project then stitches ok on the command-line.