paraview.plugin? How to include all necessary directories in Paraview?

Hello everybody!

I am trying to develop a paraview plugin, however, it does not compile

For example, it says,

Cannot open include file: 'vtkChartsCoreModule.h': No such file or directory

But I have written into the paraview.plugin:

REQUIRES_MODULES
  VTK::ChartsCore

What could be wrong?

Thank u!

Are you using vtkChartCore directly in the plugin ? Not in an internal VTK module of the plugin ?

Plugins do not automatically link to required modules (because an inner module could be what needs it). Plugin targets should explicitly link to dependencies (such as VTK::ChartsCore).