<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 25, 2015 at 6:23 AM, AI <span dir="ltr"><<a href="mailto:odre_89@hotmail.com" target="_blank">odre_89@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello,<br>
<br>
I need to wrap a vtk filter in python.<br>
<br>
I compiled VTK with the option pyhon_wrapping ON. I also set the variable<br>
PYTHON_PATH in my .bashrc :<br>
export PYTHONPATH=~/software/vtk/VTK-6.1.0/Wrapping/Python:$VTK_DIR/lib<br>
<br>
When I try to run cmake for my project, I get the following error :<br>
Unknown CMake command "VTK_WRAP_PYTHON3"<br></blockquote><div><br></div><div>Add this to your cmake file before you call vtk_wrap_python3:</div><div><br></div><div> set(VTK_WRAP_PYTHON_FIND_LIBS ON)</div><div> include(${VTK_CMAKE_DIR}/vtkWrapPython.cmake)</div><div><br></div><div> - David</div></div></div></div>