vtk python wrapper problem with compilation

I am working in project that uses python 3.6 with vtk.

This is big project, and my job in it - is doing wrapper from c++ to python for realisation of critical important in terms of speed algorithm

I can not change version of python

May be, I can use headers from vtk 8.2 from homebrew, but by link include libraries from vtk 8.1.2?