On Tue, Nov 13, 2012 at 11:05 AM, David Lonie <david.lo...@kitware.com> wrote:
> On Tue, Nov 13, 2012 at 10:44 AM, Cory Quammen <cquam...@cs.unc.edu> wrote:
>> Just a followup:
>>
>> My plugins build and link against ParaView 3.98-RC1 without error, so
>> a regression has been introduced since then.
>>
>> Cory
>>
>> On Tue, Nov 13, 2012 at 9:50 AM, Cory Quammen <cquam...@cs.unc.edu> wrote:
>>> Takuya,
>>>
>>> I have a similar problem with a simple VTK filter plugin and a
>>> representation plugin. Unfortunately, I don't have a better solution
>>> than what you propose, but I just wanted to confirm that this is a new
>>> problem, at least on Mac OS X.
>>>
>>> Cory
>
> The quick work-around is to link your plugin against
> vtkRenderingMatplotlib when python is enabled. We do this for part of
> the CoProcessing plugin that comes with ParaView. This is not a good
> long term solution IMO, but hopefully someone with a better knowledge
> of the modular build system can propose a better solution...

A better solution was pointed out to me off-list -- try adding

include(${PARAVIEW_USE_FILE})

and then linking against ${VTK_LIBRARIES}. This should be better in
the long-term.

Dave
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to