Thanks.
I install both debug and release verisions of VTK via vcpkg .
release dynamic - compilation success
debug dynamic - compilation success
debug static- compilation success
release static- compilation error:
LNK2038 mismatch detected for ‘_ITERATOR_DEBUG_LEVEL’: value ‘2’
I use the same approach to install other libraries as well, for example, with Boost all configs works correctly.