# Python wrapped library and VTK 8.2.0

**URL:** https://discourse.vtk.org/t/python-wrapped-library-and-vtk-8-2-0/763
**Category:** Support
**Created:** [April 16, 2019, 11:52am UTC](https://discourse.vtk.org/t/python-wrapped-library-and-vtk-8-2-0/763 "2019-04-16T11:52:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kit](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/k/9fc29f/32.png) [@kit](https://discourse.vtk.org/u/kit)
#### Post date: [April 16, 2019, 11:52am UTC](https://discourse.vtk.org/t/python-wrapped-library-and-vtk-8-2-0/763/1 "2019-04-16T11:52:05Z")

</div>

Hi,

I have a library which links against VTK and uses the python wrapping when I try to compile it against version 8.2.0 it breaks at the python wrapping stage. Would be correct in thinking there are some changes in this version?

The specific error message I get is:

make[2]: \*\*\* No rule to make target ‘/seistk-src/stk/DatHierarchy’, needed by ‘stk/vtkHeaderTablePython.cxx’. Stop.

The (CMake) wrapping for my library looks like this:

…

```
file(GLOB SRC_FILES "${CMAKE_CURRENT_SOURCE_DIR}/../cpp/${MOD}/*.cxx")

vtk_wrap_python3(${MOD} PY_SRC_FILES "${SRC_FILES}")

add_library(${MOD}PythonD SHARED ${PY_SRC_FILES} ${SRC_FILES})
target_link_libraries(${MOD}PythonD 
                        vtkWrappingPythonCore
                        )
add_library(${MOD} MODULE ${MOD}Init.cxx)
target_link_libraries(${MOD} 
                    ${MOD}PythonD  
                    ${VTK_PYTHOND_LIBS}
                    )
```
