<HTML>
<HEAD>
<TITLE>Re: Linking in plugin for static build</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 3/2/10 7:37 AM, "Utkarsh Ayachit" <<a href="utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hmm, I haven't tried this but worth a shot: try calling<BR>
PV_PLUGIN_IMPORT() after vtkSMApplication->Initialize() has been<BR>
called in pvserver.cxx<BR>
<BR>
Utkarsh<BR>
<BR>
On Mon, Mar 1, 2010 at 5:06 PM, Moreland, Kenneth <<a href="kmorel@sandia.gov">kmorel@sandia.gov</a>> wrote:<BR>
> Wait, I just realized that’s not right. I don’t want to build the client<BR>
> application. I want to build pvserver. Can I do that by editing<BR>
> pvserver.cxx? But then where do I put the PV_PLUGIN_IMPORT macros?<BR>
><BR>
> -Ken<BR>
><BR>
><BR>
> On 3/1/10 11:20 AM, "Utkarsh Ayachit" <<a href="utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<BR>
><BR>
> Yes, that's correct.<BR>
><BR>
> Utkarsh<BR>
><BR>
> On Mon, Mar 1, 2010 at 12:32 PM, Moreland, Kenneth <<a href="kmorel@sandia.gov">kmorel@sandia.gov</a>><BR>
> wrote:<BR>
>> So if I were to link the plugin into the client, I would modify<BR>
>> ParaViewMainWindow.cxx and the ParaViewMainWindow::ParaViewMainWindow()<BR>
>> constructor, right?<BR>
>><BR>
>> -Ken<BR>
>><BR>
>><BR>
>> On 2/27/10 8:19 PM, "Utkarsh Ayachit" <<a href="utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<BR>
>><BR>
>> You can't with 3.6.2. It's only possible with 3.8.<BR>
>> <a href="http://www.paraview.org/Wiki/Plugin_HowTo#Plugins_in_Static_Applications">http://www.paraview.org/Wiki/Plugin_HowTo#Plugins_in_Static_Applications</a><BR>
>><BR>
>> Utkarsh<BR>
>><BR>
>> On Sat, Feb 27, 2010 at 12:15 PM, Moreland, Kenneth <<a href="kmorel@sandia.gov">kmorel@sandia.gov</a>><BR>
>> wrote:<BR>
>>> When compiling a static build of ParaView, how do you instruct it to link<BR>
>>> in<BR>
>>> one or more plugins? This is with ParaView 3.6.2.<BR>
>>><BR>
>>> -Ken<BR>
>>><BR>
>>> **** Kenneth Moreland<BR>
>>> *** Sandia National Laboratories<BR>
>>> ***********<BR>
>>> *** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
>>> ** *** ** phone: (505) 844-8919<BR>
>>> *** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
>>><BR>
>>><BR>
>><BR>
>><BR>
>><BR>
>><BR>
>> **** Kenneth Moreland<BR>
>> *** Sandia National Laboratories<BR>
>> ***********<BR>
>> *** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
>> ** *** ** phone: (505) 844-8919<BR>
>> *** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
>><BR>
>><BR>
><BR>
><BR>
><BR>
><BR>
> **** Kenneth Moreland<BR>
> *** Sandia National Laboratories<BR>
> ***********<BR>
> *** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
> ** *** ** phone: (505) 844-8919<BR>
> *** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
><BR>
><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:7.5pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>