[Paraview] plugins linked to other plugins

Paul Edwards paul.m.edwards at gmail.com
Tue Dec 15 05:52:43 EST 2009


I realised that adding LD_LIBRARY_PATH doesn't work when it requires
another plugin - but adding the REQUIRED_PLUGINS in the CMakeLists.txt
works :)

2009/12/8 Paul Edwards <paul.m.edwards at gmail.com>:
> This is fixed by adding my plugin directory to the LD_LIBRARY_PATH.
>
> Thanks,
> Paul
>
> 2009/12/7 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>:
>>> This is from the auto loading - it will work if I load in the other
>>> plugin first.  It is telling me that it is not a valid qt plugin and
>>> then it also says which library is missing (the other plugin)
>>
>> Is this dependency among plugins because you are referring to some
>> classes defined my plugin A in plugin B? If so, you might be better
>> off creating a library for the common classes and then have the two
>> plugins depend on it. You'll have to use LD_LIBRARY_PATH or rpaths to
>> ensure that the shared libraries are loaded when the plugins are
>> loaded. ParaView currently does not guarantee any order when trying to
>> auto-load the plugins at startup. That  may be something worth
>> investigating.
>>
>> Utkarsh
>>
>


More information about the ParaView mailing list