Another single test:
hbmk2 test.hbp gtwvg.hbc -> ok
hbmk2 gtwvg.hbc test.hbp -> error
because gtwvg.hbc calls hbwin.hbc and hbwin calls png library.
when first on command, png enter before anothers.
if they do not use png, do not need it on hbc, and no problem if first or last
png is part of hbhpdf.hbc because harupdf need it, then include on hbhpdf.hbc.
if it is windows only: {win}-lpng
This will reduce too much situations where the error occurs.
José M. C. Quintas