Difference between revisions of "Documentation/Labs/VTK6"

From Slicer Wiki
Jump to: navigation, search
Line 22: Line 22:
  
 
* {{done}} VTK6 has been integrated into Slicer trunk. It is disabled by default. To enable it, pass the option <code>-DVTK_VERSION_MAJOR:STRING=6</code>
 
* {{done}} VTK6 has been integrated into Slicer trunk. It is disabled by default. To enable it, pass the option <code>-DVTK_VERSION_MAJOR:STRING=6</code>
 +
** Using ccmake and setting the VTK_VERSION_MAJOR variable does not seem to work.  The first "generation" in ccmake, causes a VTKv5 structure to be created which is not overwritten by subsequent runs with VTK_VERSION_MAJOR changed.  I had to remove the VTKv5 directories from the build and run cmake as described above with -DVTK_VERSION_MAJOR:STRING=6. - Jim
  
 
* <del>See https://docs.google.com/a/kitware.com/document/d/1tT4VBJtt6U0LUEyaNaW7hJIVbb2XqBdyEbQyfsmUq9I </del>
 
* <del>See https://docs.google.com/a/kitware.com/document/d/1tT4VBJtt6U0LUEyaNaW7hJIVbb2XqBdyEbQyfsmUq9I </del>

Revision as of 20:08, 27 May 2014

Home < Documentation < Labs < VTK6

This page will document experiments related to the upgrade of Slicer base to VTK6.

References

Experiments

Build System

Migration Guide

This section documents required change to make Slicer code work with VTK6.

Progress

  • Check.svg VTK6 has been integrated into Slicer trunk. It is disabled by default. To enable it, pass the option -DVTK_VERSION_MAJOR:STRING=6
    • Using ccmake and setting the VTK_VERSION_MAJOR variable does not seem to work. The first "generation" in ccmake, causes a VTKv5 structure to be created which is not overwritten by subsequent runs with VTK_VERSION_MAJOR changed. I had to remove the VTKv5 directories from the build and run cmake as described above with -DVTK_VERSION_MAJOR:STRING=6. - Jim