View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015466ParaView(No Category)public2015-05-12 08:562016-08-12 09:59
ReporterFelipe Bordeu 
Assigned ToKitware Robot 
PrioritylowSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version4.3 
Target VersionFixed in Version 
Summary0015466: using PARAVIEW_EXTERNAL_PLUGIN_DIRS with more than one plugin
DescriptionWhen 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

TagsNo tags attached.
ProjectTBD
Topic Name
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0038821)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2015-05-12 08:56 Felipe Bordeu New Issue
2016-08-12 09:59 Kitware Robot Note Added: 0038821
2016-08-12 09:59 Kitware Robot Status backlog => closed
2016-08-12 09:59 Kitware Robot Resolution open => moved
2016-08-12 09:59 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team