Your plugin code shouldn’t be explicitly using that file or the macro. It is meant for code in that module itself. Can you elaborate where the error is coming from?
Oh interesting. This is a filter I wrote many years back, cobbled together from existing code and help from the old paraview-dev mailing list. I’m not particularly comfortable with it, and once it was working, I haven’t touched it since.