Right, worked out that I don't need the whole suite, just hxcfloppyemulator_convert... It'd be interesting to expand this to support the USB model on more OSes, but I must admit I'm not interested in that.
By sorting out that malloc problems, that builds and seems to work.
For everywhere that malloc.h is included, replace #include <malloc.h> with
It builds and *appears* to work: it recognises DMS and ADF, and converts to HFE... Can you send me a before and after image so I can check it byte by byte?