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. 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,

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:20 AM.

Comments are currently closed for this discussion. You can start a new one.

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