Hi Kyle,<div><br></div><div>Include directories have to be set up with include_directories(), just like</div><div>in the pre-modular days. After the vtk-python-versioned-libs merge,</div><div>PythonCore is no longer a module, it's a plain old VTK library.</div>
<div><br></div><div> - David</div><div><br></div><div><br><div class="gmail_quote">On Tue, Jun 12, 2012 at 1:42 PM, Kyle Lutz <span dir="ltr"><<a href="mailto:kyle.lutz@kitware.com" target="_blank">kyle.lutz@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi David Gobbi,<br>
<br>
We are also having issues with this change in ParaView. A ParaView<br>
topic brought in VTK-master which brought in your topic<br>
('vtk-python-versioned-libs') leading to the following compilation<br>
errors:<br>
<br>
/home/kyle/ParaView/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx:16:<br>
error: vtkPython.h: No such file or directory<br>
<br>
What is the proper way to set up the include and link paths for the<br>
new python wrapping code?<br>
<br>
-kyle<br>
<div><div><br>
On Tue, Jun 12, 2012 at 3:34 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>> wrote:<br>
> Hi David,<br>
><br>
> This just depends on python, right? Not the python wrappers?<br>
> So it could do its own find_package(PythonLibs REQUIRED)<br>
> and set up the include_directories and link_libraries, completely<br>
> independent of the wrappers. I'm not saying it would be easy...<br>
> some important things like the generation of vtkPythonConfigure.h<br>
> and choosing between the release & debug versions of the python<br>
> library are tied up with wrapping and would need to be refactored.<br>
><br>
> Are you sure the class should have an innocuous name like<br>
> "vtkMathTextUtilities" when it requires python, matplotlib, and<br>
> (I'm guessing) latex in order to work?<br>
><br>
> - David<br>
><br>
><br>
><br>
> On Tue, Jun 12, 2012 at 12:24 PM, David Lonie <<a href="mailto:david.lonie@kitware.com" target="_blank">david.lonie@kitware.com</a>><br>
> wrote:<br>
>><br>
>> Hi David,<br>
>><br>
>> I'm working on a new module that requires python, and we noticed that you<br>
>> removed the PythonCore module last week. Is there any way to restore the<br>
>> module and preserve the new functionality you needed for library versioning?<br>
>> I've pushed a changeset for my new module, but we cannot merge it as it<br>
>> needs to explicitly depend on PythonCore:<br>
>><br>
>> <a href="http://review.source.kitware.com/#/c/6177/" target="_blank">http://review.source.kitware.com/#/c/6177/</a><br>
>><br>
>> Or is there another way that this dependency can be added without an<br>
>> actual PythonCore module?<br>
>><br>
>> Thanks,<br>
>><br>
>> Dave<br></div></div></blockquote></div></div>