I’m assuming you’re using the Discovery Freelancer FLHook. From what I remember, that repository requires boost 1.60, so that’s probably where your error is coming from. I can’t actually remember Disco’s FLHook that well, but that’d be my first guess.
Anything more will require some more information, as you’ve just said base plugin, which doesn’t really provide any real detail about the error itself.