[Paraview] Linking in plugin for static build

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Mar 2 09:37:57 EST 2010


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
>
>


More information about the ParaView mailing list