Re: [Paraview] Building Plugin PV3.5 (Newbie)
The plugins in the Examples directory can be built by turning on the BUILD_EXAMPLES cmake option. It's an advanced option so may not be visible by default in your cmake gui. Utkarsh On Thu, Jan 1, 2009 at 12:07 PM, bastil2...@yahoo.de bastil2...@yahoo.de wrote: Dear group, I try to build a plugin to Paraview following the wiki: http://paraview.org/Wiki/Plugin_HowTo#Adding_a_Filter I have a CVS-snapshot of Paraview and build it successfully. Now I try to add the example vtkMyElevationFilter to this Paraview. However, I do not understand how to build the Plugin with cmake. The wiki tells: Then using cmake and a build system, one can build a plugin for this new filter. I do not know how to run cmake / build the plugin. I tried running cmake . in the directory $PV_SOURCE/Examples/Plugins/Filter but cmake complains: CMake Error: Error in cmake code at /home/basti/Desktop/ParaView3/Examples/Plugins/Filter/CMakeLists.txt:6: Unknown CMake command ADD_PARAVIEW_PLUGIN. -- Configuring done Thanks BastiL ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Building Plugin PV3.5 (Newbie)
Sure. I have ssen that. However, I do not know how to handle new (own developed) plugins. How can they be build? Thanks. BastiL Utkarsh Ayachit schrieb: The plugins in the Examples directory can be built by turning on the BUILD_EXAMPLES cmake option. It's an advanced option so may not be visible by default in your cmake gui. Utkarsh On Thu, Jan 1, 2009 at 12:07 PM, bastil2...@yahoo.de bastil2...@yahoo.de wrote: Dear group, I try to build a plugin to Paraview following the wiki: http://paraview.org/Wiki/Plugin_HowTo#Adding_a_Filter I have a CVS-snapshot of Paraview and build it successfully. Now I try to add the example vtkMyElevationFilter to this Paraview. However, I do not understand how to build the Plugin with cmake. The wiki tells: Then using cmake and a build system, one can build a plugin for this new filter. I do not know how to run cmake / build the plugin. I tried running cmake . in the directory $PV_SOURCE/Examples/Plugins/Filter but cmake complains: CMake Error: Error in cmake code at /home/basti/Desktop/ParaView3/Examples/Plugins/Filter/CMakeLists.txt:6: Unknown CMake command ADD_PARAVIEW_PLUGIN. -- Configuring done Thanks BastiL ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Building Plugin PV3.5 (Newbie)
For new plugins you need to add the following two lines to the CMakeLists.txt (you can add them to the examples in ParaView3/Examples and build them separately). FIND_PACKAGE(ParaView REQUIRED) INCLUDE(${PARAVIEW_USE_FILE}) Utkarsh On Wed, Jan 7, 2009 at 1:27 PM, bastil2...@yahoo.de bastil2...@yahoo.de wrote: Sure. I have ssen that. However, I do not know how to handle new (own developed) plugins. How can they be build? Thanks. BastiL Utkarsh Ayachit schrieb: The plugins in the Examples directory can be built by turning on the BUILD_EXAMPLES cmake option. It's an advanced option so may not be visible by default in your cmake gui. Utkarsh On Thu, Jan 1, 2009 at 12:07 PM, bastil2...@yahoo.de bastil2...@yahoo.de wrote: Dear group, I try to build a plugin to Paraview following the wiki: http://paraview.org/Wiki/Plugin_HowTo#Adding_a_Filter I have a CVS-snapshot of Paraview and build it successfully. Now I try to add the example vtkMyElevationFilter to this Paraview. However, I do not understand how to build the Plugin with cmake. The wiki tells: Then using cmake and a build system, one can build a plugin for this new filter. I do not know how to run cmake / build the plugin. I tried running cmake . in the directory $PV_SOURCE/Examples/Plugins/Filter but cmake complains: CMake Error: Error in cmake code at /home/basti/Desktop/ParaView3/Examples/Plugins/Filter/CMakeLists.txt:6: Unknown CMake command ADD_PARAVIEW_PLUGIN. -- Configuring done Thanks BastiL ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview
[Paraview] Building Plugin PV3.5 (Newbie)
Dear group, I try to build a plugin to Paraview following the wiki: http://paraview.org/Wiki/Plugin_HowTo#Adding_a_Filter I have a CVS-snapshot of Paraview and build it successfully. Now I try to add the example vtkMyElevationFilter to this Paraview. However, I do not understand how to build the Plugin with cmake. The wiki tells: Then using cmake and a build system, one can build a plugin for this new filter. I do not know how to run cmake / build the plugin. I tried running cmake . in the directory $PV_SOURCE/Examples/Plugins/Filter but cmake complains: CMake Error: Error in cmake code at /home/basti/Desktop/ParaView3/Examples/Plugins/Filter/CMakeLists.txt:6: Unknown CMake command ADD_PARAVIEW_PLUGIN. -- Configuring done Thanks BastiL ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview