upgrade VTK


I want to upgrade from version 8.1.2 to the latest version 8.2.0.

Is it necessary to remove the entire version 8.1.2 to reinstall VTK 8.2.0?

What do I have to do to install it in both release and debug modes?

Thank you in advance for your answer.

best regards


Most probably you need to rebuild your entire project, not just VTK.

So I have to delete the old version of vtk?

Yes, I would recommend to remove the entire build tree and rebuild the whole project if build fails after a major update of a library.

You can choose where your libs will be installed by editing ‘CMAKE_INSTALL_PREFIX’ variable during the build configuration in cmake GUI:

1 Like