Skip to content

How to install VTK linux  #15

@lesliewubbel

Description

@lesliewubbel

you want to follow these steps https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/build.md

git clone --recursive https://gitlab.kitware.com/vtk/vtk.git

in the terminal
sudo apt install build-essential
sudo apt install cmake
sudo apt install mesa-common-dev
sudo apt install mesa-utils
sudo apt install freeglut3-dev

after install the dependencies, we are going build VTK from source

mkdir -p vtk/build
cd vtk/build
cmake ../ -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DVTK_WRAP_PYTHON=ON

These ' -DVTK_WRAP_PYTHON=ON` allow pyvista to work or vtk python package

then build the source
make -j4
it will take long time hour or more

then flask run in the correct directory where the app.py i.e. wsgi.py or run.py
`flask run --host=0.0.0.0'

Go to your public IP address see if the server is showing up

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions