Request Install VTK

t.sugiura0204's Avatar

t.sugiura0204

27 Oct, 2017 07:02 PM

VTK (http://www.vtk.org/) is open-source library for visualization.
I want to use VTK in C++ projects. Could you consider adding VTK libraries to pre-installed software of build environment?

Best Regards,

  1. Support Staff 1 Posted by Ilya Finkelshte... on 27 Oct, 2017 09:17 PM

    Ilya Finkelshteyn's Avatar

    If workaround provided here is not good enough, please provide download location of specific package you need. We will try to provide are workaround script for you.

  2. 2 Posted by t.sugiura0204 on 28 Oct, 2017 02:58 PM

    t.sugiura0204's Avatar

    That package only provides Python interface.
    I want to use C++ libraries of VTK.

    I can't provide download location of VTK pre-built package, because VTK pre-built package has not been provided from the official.
    Therefore, It must be built from the source code.

    I can provide steps for build VTK.

    1. Please download the source code archive of VTK from here. And, Unzip archive.
      https://github.com/Kitware/VTK/archive/v8.0.1.zip  

    2. Please build and install using CMake commands.

    cd VTK-8.0.1
    
    mkdir buildx64
    cmake -G "Visual Studio 15 2017 Win64" -B./buildx64 -H. -DCMAKE_DEBUG_POSTFIX=-gd -DBUILD_TESTING=OFF
    cmake --build ./buildx64 --target ALL_BUILD --config Release
    cmake --build ./buildx64 --target ALL_BUILD --config Debug
    cmake --build ./buildx64 --target INSTALL --config Release
    cmake --build ./buildx64 --target INSTALL --config Debug
    
    mkdir buildx86
    cmake -G "Visual Studio 15 2017" -B./buildx86 -H. -DCMAKE_DEBUG_POSTFIX=-gd -DBUILD_TESTING=OFF
    cmake --build ./buildx86 --target ALL_BUILD --config Release
    cmake --build ./buildx86 --target ALL_BUILD --config Debug
    cmake --build ./buildx86 --target INSTALL --config Release
    cmake --build ./buildx86 --target INSTALL --config Debug
    

    Thanks,

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac