Hepmc3 error in ROOT Macro

Hi! There was a similar question just before:

There, I suggested to add the right include paths with gSystem->AddIncludePath(), and then using ACLiC to compile and run the macro.

Maybe that works for you too?