build error abot vtkproperty

there’s some error when build imstk now.

14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkProperty.h(61): note: see declaration of 'vtkProperty'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\RenderDelegate\imstkVTKPolyDataRenderDelegate.cpp(105): error C2039: 'SetAnisotropyRotation': is not a member of 'vtkProperty' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkProperty.h(61): note: see declaration of 'vtkProperty'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\RenderDelegate\imstkVTKPolyDataRenderDelegate.cpp(106): error C2039: 'SetBaseIOR': is not a member of 'vtkProperty' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkProperty.h(61): note: see declaration of 'vtkProperty'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\RenderDelegate\imstkVTKPolyDataRenderDelegate.cpp(107): error C2039: 'SetCoatColor': is not a member of 'vtkProperty' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkProperty.h(61): note: see declaration of 'vtkProperty'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\RenderDelegate\imstkVTKPolyDataRenderDelegate.cpp(108): error C2039: 'SetCoatIOR': is not a member of 'vtkProperty' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkProperty.h(61): note: see declaration of 'vtkProperty'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\RenderDelegate\imstkVTKPolyDataRenderDelegate.cpp(109): error C2039: 'SetCoatNormalScale': is not a member of 'vtkProperty' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkProperty.h(61): note: see declaration of 'vtkProperty'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\RenderDelegate\imstkVTKPolyDataRenderDelegate.cpp(110): error C2039: 'SetCoatRoughness': is not a member of 'vtkProperty' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkProperty.h(61): note: see declaration of 'vtkProperty'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\RenderDelegate\imstkVTKPolyDataRenderDelegate.cpp(111): error C2039: 'SetCoatStrength': is not a member of 'vtkProperty' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkProperty.h(61): note: see declaration of 'vtkProperty'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\RenderDelegate\imstkVTKPolyDataRenderDelegate.cpp(112): error C2039: 'SetEdgeTint': is not a member of 'vtkProperty' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkProperty.h(61): note: see declaration of 'vtkProperty'
14>D:\Tools\iMSTK\build\install\include\g3log/g3log.hpp : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss (compiling source file D:\Tools\iMSTK\src\Source\RenderingVTK\RenderDelegate\imstkVTKSurfaceMeshRenderDelegate.cpp) [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(89): error C2039: 'SetWrap': is not a member of 'vtkTexture' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkTexture.h(65): note: see declaration of 'vtkTexture'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(89): error C2597: illegal reference to non-static member 'vtkTexture::Repeat' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(89): note: see declaration of 'vtkTexture::Repeat'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(93): error C2039: 'SetWrap': is not a member of 'vtkTexture' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkTexture.h(65): note: see declaration of 'vtkTexture'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(93): error C2039: 'ClampToBorder': is not a member of 'vtkTexture' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkTexture.h(65): note: see declaration of 'vtkTexture'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(93): error C2065: 'ClampToBorder': undeclared identifier [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(97): error C2039: 'SetWrap': is not a member of 'vtkTexture' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkTexture.h(65): note: see declaration of 'vtkTexture'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(97): error C2039: 'ClampToEdge': is not a member of 'vtkTexture' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkTexture.h(65): note: see declaration of 'vtkTexture'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(97): error C2065: 'ClampToEdge': undeclared identifier [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(100): error C2039: 'SetBorderColor': is not a member of 'vtkTexture' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkTexture.h(65): note: see declaration of 'vtkTexture'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(124): error C2039: 'SetWrap': is not a member of 'vtkTexture' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkTexture.h(65): note: see declaration of 'vtkTexture'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(124): error C2597: illegal reference to non-static member 'vtkTexture::Repeat' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(124): note: see declaration of 'vtkTexture::Repeat'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(128): error C2039: 'SetWrap': is not a member of 'vtkTexture' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkTexture.h(65): note: see declaration of 'vtkTexture'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(128): error C2039: 'ClampToBorder': is not a member of 'vtkTexture' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkTexture.h(65): note: see declaration of 'vtkTexture'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(128): error C2065: 'ClampToBorder': undeclared identifier [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(132): error C2039: 'SetWrap': is not a member of 'vtkTexture' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkTexture.h(65): note: see declaration of 'vtkTexture'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(132): error C2039: 'ClampToEdge': is not a member of 'vtkTexture' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkTexture.h(65): note: see declaration of 'vtkTexture'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(132): error C2065: 'ClampToEdge': undeclared identifier [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>D:\Tools\iMSTK\src\Source\RenderingVTK\imstkVTKTextureDelegate.cpp(135): error C2039: 'SetBorderColor': is not a member of 'vtkTexture' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkTexture.h(65): note: see declaration of 'vtkTexture'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\RenderDelegate\imstkVTKSurfaceMeshRenderDelegate.cpp(599): error C2039: 'SetAnisotropyTexture': is not a member of 'vtkProperty' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]
14>  D:\Tools\iMSTK\build\install\include\vtk-9.0\vtkProperty.h(61): note: see declaration of 'vtkProperty'
14>D:\Tools\iMSTK\src\Source\RenderingVTK\RenderDelegate\imstkVTKSurfaceMeshRenderDelegate.cpp(604): error C2039: 'SetCoatNormalTexture': is not a member of 'vtkProperty' [D:\Tools\iMSTK\build\Innerbuild\Source\RenderingVTK\RenderingVTK.vcxproj]

It looks like you’re using vtk 9.0 when the latest imstk is now on vtk 9.1. Perhaps clear you build directory and do a full clean rebuild?

i rebuild imstk to change vtk version to 9.1 but i got vtk build error.

d:\tools\imstk\build\external\vtk\src\thirdparty\fmt\vtkfmt\vtkfmt\core.h(2287): error C2131: expression did not evaluate to a constant [D:\Tools\iMSTK\build\External\VTK\build\ThirdParty\fmt\vtkfmt\fmt.vcxproj]
13>  d:\tools\imstk\build\external\vtk\src\thirdparty\fmt\vtkfmt\vtkfmt\core.h(1995): note: a non-constant (sub-)expression was encountered
13>  d:\tools\imstk\build\external\vtk\src\thirdparty\fmt\vtkfmt\vtkfmt\core.h(2852): note: see reference to function template instantiation 'void vtkfmt::v8::detail::check_format_string<T&,S,0>(S)' being compiled
13>          with
3>  d:\tools\imstk\build\external\vtk\src\thirdparty\fmt\vtkfmt\vtkfmt\core.h(2769): note: while evaluating 'vtkfmt::v8::detail::parse_format_specs(&checker, 120)'
13>d:\tools\imstk\build\external\vtk\src\thirdparty\fmt\vtkfmt\vtkfmt\core.h(2769): error C2131: expression did not evaluate to a constant [D:\Tools\iMSTK\build\External\VTK\build\ThirdParty\fmt\vtkfmt\fmt.vcxproj]
13>  d:\tools\imstk\build\external\vtk\src\thirdparty\fmt\vtkfmt\vtkfmt\core.h(1995): note: a non-constant (sub-)expression was encountered
13>  d:\tools\imstk\build\external\vtk\src\thirdparty\fmt\vtkfmt\vtkfmt\core.h(2769): note: while evaluating 'vtkfmt::v8::detail::parse_format_specs(&, &, &checker)'
13>d:\tools\imstk\build\external\vtk\src\thirdparty\fmt\vtkfmt\vtkfmt\core.h(1995): error C2131: expression did not evaluate to a constant [D:\Tools\iMSTK\build\External\VTK\build\ThirdParty\fmt\vtkfmt\fmt.vcxproj]
13>  d:\tools\imstk\build\external\vtk\src\thirdparty\fmt\vtkfmt\vtkfmt\core.h(1995): note: a non-constant (sub-)expression was encountered
13>d:\tools\imstk\build\external\vtk\src\thirdparty\fmt\vtkfmt\vtkfmt\core.h(2449): error C2131: expression did not evaluate to a constant [D:\Tools\iMSTK\build\External\VTK\build\ThirdParty\fmt\vtkfmt\fmt.vcxproj]
13>  d:\tools\imstk\build\external\vtk\src\thirdparty\fmt\vtkfmt\vtkfmt\core.h(2764): note: failure was caused by control reaching the end of a constexpr function
13>  d:\tools\imstk\build\external\vtk\src\thirdparty\fmt\vtkfmt\vtkfmt\core.h(2449): note: while evaluating 'vtkfmt::v8::formatter<T,char,void>::parse(&f, &)'

and this, I think this error is caused by the failure of the above vtk compilation

>CMake Error at CMakeLists.txt:314 (find_package):
14>  Could not find a package configuration file provided by "VTK" with any of
14>  the following names:
14>
14>    VTKConfig.cmake
14>    vtk-config.cmake
14>
14>  Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
14>  to a directory containing one of the above files.  If "VTK" provides a
14>  separate development package or SDK, be sure it has been installed.