[Paraview] python wrapping and paraview plugins

Casey Goodlett casey.goodlett at kitware.com
Wed Sep 4 11:10:16 EDT 2013


H,

I saw this thread from July
http://www.paraview.org/pipermail/paraview/2013-July/028731.html and wanted
to see if there were any updates that could avoid Pat's workaround.

I also have a second error in generating the python wrapped module.

I tried Pat's example project
https://github.com/patmarion/PythonWrappedPluginExample compiled against
the ParaView 4.0.1 release, but I get an additional error that
"vtkPythonArgs.h" can not be found:

/Users/caseygoodlett/common/pv-wrap-test/Module/Filters/vtkMyFilterPython.cxx:5:10:
fatal error: 'vtkPythonArgs.h' file not found
#include "vtkPythonArgs.h"
         ^
1 error generated.
make[2]: ***
[Module/Filters/CMakeFiles/vtkMyFiltersPythonD.dir/vtkMyFilterPython.cxx.o]
Error 1
make[1]: *** [Module/Filters/CMakeFiles/vtkMyFiltersPythonD.dir/all] Error 2
make: *** [all] Error 2

I assume that I need to get ParaView/VTK/Wrapping/PythonCore/ in the
include path.  What is the recommended way to do this?

Thank you

-- 
Casey B. Goodlett, Ph.D.
R&D Engineer
Kitware, Inc. - North Carolina Office
http://www.kitware.com
(919) 969-6990 x310
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130904/2c1080b5/attachment.htm>


More information about the ParaView mailing list