Also try setting the environment variable PV_DEBUG_PLUGIN (http://paraview.org/Wiki/ParaView/Developer_Info#PV_PLUGIN_DEBUG). ParaView wil start dumping information to the command line about plugins it tries to load and their load status, error messgages etc,.
Utkarsh On Tue, Jul 12, 2011 at 6:33 AM, Paul Edwards <[email protected]> wrote: > You could try using a debugging, set a breakpoint in > "vtkPVPluginLoader::LoadPluginsFromPath" and step though. > Other things to check would be to make sure you add "REQUIRED_PLUGINS" in > the CMakeLists.txt for any dependent plugins required. Also, add any > required libraries to "TARGET_LINK_LIBRARIES" and make sure they are all in > the LD_LIBRARY_PATH when running your app. > > Regards, > Paul > On 12 July 2011 13:20, R M <[email protected]> wrote: >> >> I don't have the plugin manager in my custom application. But in paraview >> plugins are well listed and are correctly loaded. >> Using PV_PLUGIN_PATH one plugin is not loaded. Furthermore before I only >> had a plugins directory and they were automaticly loaded. >> >> I have tried using OPTIONAL_PLUGINS in my custom application >> CMakeLists.txt file. All my plugins are loaded but I have to set them at the >> same level of the executable. But I would like to have them in the plugins >> directory. >> >> Thank you. >> >> ________________________________ >> De : Paul Edwards <[email protected]> >> À : R M <[email protected]> >> Cc : [email protected] >> Envoyé le : Mar 12 juillet 2011, 13h 48min 45s >> Objet : Re: [Paraview] Paraview custom application and plugin loading >> problem >> >> Are they listed when you go to the plugin manager? (from menu >> "Tools->Manage Plugins") If so, can you expand the tree view to see why >> they didn't load? I have it working for me by setting PV_PLUGIN_PATH (on >> both windows and linux) >> Regards, >> Paul >> >> On 12 July 2011 08:09, R M <[email protected]> wrote: >>> >>> Hello, >>> >>> I use Paraview 3.10 (32 bits) on Windows and Linux and i have developped >>> a custom paraview application and also some customs plugins. >>> Using Paraview, I can use my customs plugins but in my custom application >>> I can't load them. I have put them in a Plugins directory which is near the >>> executable. >>> When using paraview 3.9 I could load my plugins but not with paraview >>> 3.10. >>> I have found that I can use the PV_PLUGIN_PATH environment variable (in a >>> bat and a sh file) >>> (http://www.vtk.org/Wiki/ParaView/Users_Guide/Loading_Plugins). >>> Some plugins are loaded but not all of them ! >>> So what is the solutions in order to that all my plugins are loaded by my >>> custom application. >>> >>> Thank you. >>> >>> _______________________________________________ >>> 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 >>> >> > > > _______________________________________________ > 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 > > _______________________________________________ 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
