[vtkusers] Migrate from VTK 4.2 to 7.0, supporting functions and libraries

John Drescher drescherjm at gmail.com
Mon Dec 21 17:27:40 EST 2015


> From VTK version 4.2, I saw 1 library for the rendering group generated:
> vtkRendering.lib.
> From version 7.0 rc1, there are 13 vtkRendering___.lib library files are
> generated using Visual studio C++ 2010:
> vtkRenderingAnnotation-7.0.lib
> vtkRenderingContext2D-7.0.lib
> vtkRenderingContextOpenGL-7.0.lib
> vtkRenderingCore-7.0.lib
> vtkRenderingFreeType-7.0.lib
> vtkRenderingGL2PS-7.0.lib
> vtkRenderingImage-7.0.lib
> vtkRenderingLabel-7.0.lib
> vtkRenderingLIC-7.0.lib
> vtkRenderingLOD-7.0.lib
> vtkRenderingOpenGL-7.0.lib
> vtkRenderingVolume-7.0.lib
> vtkRenderingVolumeOpenGL-7.0.lib
>
> My questions are which library from version 7.0 is equivalent to the
> vtkRendering.lib library from version 4.2?

There is a lot that has changed in 11+ years of development. It will
not be a simple substitution.

> From VTK version 7.0 rc1, How to combine all vtkRenderring____.lib libraries
> into 1 library using CMAKE version 3.4.1?
>

You can not combine the libraries into a single library. The simplest
way to use vtk is to generate your Visual Studio project for your
application using CMake.

John


More information about the vtkusers mailing list