Re: [Paraview] Linking in plugin for static build

2010-03-09 Thread Moreland, Kenneth
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.ayac...@kitware.com wrote: Hmm,

Re: [Paraview] Linking in plugin for static build

2010-03-02 Thread Utkarsh Ayachit
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 kmo...@sandia.gov wrote: Wait, I just realized that’s not right.  I don’t want to build the

Re: [Paraview] Linking in plugin for static build

2010-03-01 Thread Utkarsh Ayachit
Yes, that's correct. Utkarsh On Mon, Mar 1, 2010 at 12:32 PM, Moreland, Kenneth kmo...@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,

Re: [Paraview] Linking in plugin for static build

2010-03-01 Thread Moreland, Kenneth
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.ayac...@kitware.com wrote: Yes,

[Paraview] Linking in plugin for static build

2010-02-27 Thread Moreland, Kenneth
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: kmo...@sandia.gov ** *** ** phone: (505) 844-8919

Re: [Paraview] Linking in plugin for static build

2010-02-27 Thread Utkarsh Ayachit
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 kmo...@sandia.gov wrote: When compiling a static build of ParaView, how do you instruct it to link in one or