MantisBT - ParaView
View Issue Details
0015466ParaView(No Category)public2015-05-12 08:562016-08-12 09:59
Felipe Bordeu 
Kitware Robot 
lowminorhave not tried
closedmoved 
4.3 
 
TBD
incorrect functionality
0015466: using PARAVIEW_EXTERNAL_PLUGIN_DIRS with more than one plugin
When doing the configuration to compile paraview (ccmake) careful must me taken using the PARAVIEW_EXTERNAL_PLUGIN_DIRS variable. If more than one external plugin source directory is added (separated by ;) no trailing / (slash) is permitted. This is because the script that treat this variable (CMake/ParaViewPluginsMacros.cmake:169) create a build directory for each external plugin using the get_filename_component command. If a trailing / is present then the dir_name variable is empty and the plugin is build inside the ExternalPlugin (not in a subdirectory). Cmake gives an error if we use the same build directory to build 2 sources.

example using PARAVIEW_EXTERNAL_PLUGIN_DIRS /Path/to/my/plugin1/;/Path/to/my/plugin2/ :

 CMake Error at CMake/ParaViewPluginsMacros.cmake:187 (add_subdirectory):
   The binary directory

     /build/directory/of/ParaView4_binDebug/ExternalPlugins

   is already used to build a source directory. It cannot be used to build
   source directory

     /Path/to/my/plugin2

   Specify a unique binary directory name.
 Call Stack (most recent call first):
   CMakeLists.txt:727 (pv_process_plugins)

using no trailing / solved the problem

PARAVIEW_EXTERNAL_PLUGIN_DIRS /Path/to/my/plugin1;/Path/to/my/plugin2

No tags attached.
Issue History
2015-05-12 08:56Felipe BordeuNew Issue
2016-08-12 09:59Kitware RobotNote Added: 0038821
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved
2016-08-12 09:59Kitware RobotAssigned To => Kitware Robot

Notes
(0038821)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.