VTK 9.1, MINGW64 and Windows 10

This might point you in the right direction for solving the dllimport attribute problem.
https://lists.gnu.org/archive/html/bug-gettext/2016-09/msg00004.html

Is VTKIONETCDF_EXPORT defined in vtkIONetCDFModule.h?