Re: [Paraview] Linking in plugin for static build
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, 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 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, 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, Utkarsh Ayachit utkarsh.ayac...@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 kmo...@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: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Linking in plugin for static build
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 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, 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, Utkarsh Ayachit utkarsh.ayac...@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 kmo...@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: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Linking in plugin for static build
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, Utkarsh Ayachit utkarsh.ayac...@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 kmo...@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: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Linking in plugin for static build
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, 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, Utkarsh Ayachit utkarsh.ayac...@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 kmo...@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: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
[Paraview] Linking in plugin for static build
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 *** web: http://www.cs.unm.edu/~kmorel ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Linking in plugin for static build
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 more plugins? This is with ParaView 3.6.2. -Ken Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview