Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
ParaView
ParaView
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,729
    • Issues 1,729
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 61
    • Merge Requests 61
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ParaView
  • ParaViewParaView
  • Issues
  • #15466

Closed
Open
Opened May 11, 2015 by Kitware Robot@kwrobotOwner

using PARAVIEW_EXTERNAL_PLUGIN_DIRS with more than one plugin

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


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

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: paraview/paraview#15466