View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015254VTKBugpublic2015-01-11 21:452015-02-09 15:58
ReporterJean-Christophe Fillion-Robin 
Assigned ToBen Boeckel (Kitware) 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version6.3.0Fixed in Version6.2.0 
Summary0015254: Configuration fails with "VTK_ENABLE_KITS" ON and "VTK_RENDERING_BACKEND" set to OpenGL2
DescriptionThe error reported below happen using VTK d64654d


CMake Error at Rendering/VolumeOpenGL2/CMakeLists.txt:65 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "vtkRenderingVolumeOpenGL2".

-- Configuring incomplete, errors occurred!
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0034071)
Jean-Christophe Fillion-Robin (manager)
2015-01-13 00:11

A possible fix could be https://github.com/Slicer/VTK/commit/f5dd079959ad050a80a59727ea556102cdb27d9f [^]
(0034089)
Jean-Christophe Fillion-Robin (manager)
2015-01-19 13:39

Aashish suggested to add the dependency to "vtkRendering" unconditionally.

The caveat is that since vtkRendering exists only when building VTK with VTK_ENABLE_KITS set to ON and vtkRenderingVolumeOpenGL2 is an interface and not a target when that same option is ON, his suggestion is not possible. It basically gives the following error:

CMake Error at Rendering/VolumeOpenGL2/CMakeLists.txt:65 (add_dependencies):
  Cannot add target-level dependencies to non-existent target "vtkRendering".

  The add_dependencies works for top-level logical targets created by the
  add_executable, add_library, or add_custom_target commands. If you want to
  add file-level dependencies see the DEPENDS option of the add_custom_target
  and add_custom_command commands.
(0034160)
Dave DeMarle (administrator)
2015-02-05 12:07

We want gl2 to be a prototype in 6.2, so fix will have to come after this release. 6.2.1 is ok.
(0034199)
Ben Boeckel (Kitware) (developer)
2015-02-09 15:58

This has actually already been fixed: http://review.source.kitware.com/#/t/5345/ [^]

 Issue History
Date Modified Username Field Change
2015-01-11 21:45 Jean-Christophe Fillion-Robin New Issue
2015-01-13 00:11 Jean-Christophe Fillion-Robin Note Added: 0034071
2015-01-19 13:39 Jean-Christophe Fillion-Robin Note Added: 0034089
2015-01-19 13:41 Utkarsh Ayachit Assigned To => Ben Boeckel (Kitware)
2015-02-05 12:07 Dave DeMarle Note Added: 0034160
2015-02-05 12:07 Dave DeMarle Target Version 6.2.0 => 6.3.0
2015-02-05 12:07 Dave DeMarle Description Updated
2015-02-09 15:58 Ben Boeckel (Kitware) Note Added: 0034199
2015-02-09 15:58 Ben Boeckel (Kitware) Status backlog => closed
2015-02-09 15:58 Ben Boeckel (Kitware) Resolution open => fixed
2015-02-09 15:58 Ben Boeckel (Kitware) Fixed in Version => 6.2.0


Copyright © 2000 - 2018 MantisBT Team