[Paraview] Linking in plugin for static build

Moreland, Kenneth kmorel at sandia.gov
Tue Mar 9 11:22:25 EST 2010


This appears to be working.  The only thing that seems to be wrong is that the server does not report that the plugin is loaded, so the client gives a warning as such.  Nevertheless, everything works as expected.

-Ken


On 3/2/10 7:37 AM, "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com> wrote:

Hmm, I haven't tried this but worth a shot: try calling
PV_PLUGIN_IMPORT() after vtkSMApplication->Initialize() has been
called in pvserver.cxx

Utkarsh

On Mon, Mar 1, 2010 at 5:06 PM, Moreland, Kenneth <kmorel at sandia.gov> wrote:
> Wait, I just realized that's not right.  I don't want to build the client
> application.  I want to build pvserver.  Can I do that by editing
> pvserver.cxx?  But then where do I put the PV_PLUGIN_IMPORT macros?
>
> -Ken
>
>
> On 3/1/10 11:20 AM, "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com> wrote:
>
> Yes, that's correct.
>
> Utkarsh
>
> On Mon, Mar 1, 2010 at 12:32 PM, Moreland, Kenneth <kmorel at sandia.gov>
> wrote:
>> So if I were to link the plugin into the client, I would modify
>> ParaViewMainWindow.cxx and the ParaViewMainWindow::ParaViewMainWindow()
>> constructor, right?
>>
>> -Ken
>>
>>
>> On 2/27/10 8:19 PM, "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com> wrote:
>>
>> You can't with 3.6.2. It's only possible with 3.8.
>> http://www.paraview.org/Wiki/Plugin_HowTo#Plugins_in_Static_Applications
>>
>> Utkarsh
>>
>> On Sat, Feb 27, 2010 at 12:15 PM, Moreland, Kenneth <kmorel at sandia.gov>
>> wrote:
>>> When compiling a static build of ParaView, how do you instruct it to link
>>> in
>>> one or more plugins?  This is with ParaView 3.6.2.
>>>
>>> -Ken
>>>
>>>    ****      Kenneth Moreland
>>>     ***      Sandia National Laboratories
>>> ***********
>>> *** *** ***  email: kmorel at sandia.gov
>>> **  ***  **  phone: (505) 844-8919
>>>     ***      web:   http://www.cs.unm.edu/~kmorel
>>>
>>>
>>
>>
>>
>>
>>    ****      Kenneth Moreland
>>     ***      Sandia National Laboratories
>> ***********
>> *** *** ***  email: kmorel at sandia.gov
>> **  ***  **  phone: (505) 844-8919
>>     ***      web:   http://www.cs.unm.edu/~kmorel
>>
>>
>
>
>
>
>    ****      Kenneth Moreland
>     ***      Sandia National Laboratories
> ***********
> *** *** ***  email: kmorel at sandia.gov
> **  ***  **  phone: (505) 844-8919
>     ***      web:   http://www.cs.unm.edu/~kmorel
>
>




   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100309/fc35eed3/attachment.htm>


More information about the ParaView mailing list