Setup Quick Source for VTK
Add the following lines to your .bashrc
:
# Setup VTK Enviroment
export VTK_DIR=/home/$USER/VTK-9.1.0/build
export PATH=/home/$USER/VTK-9.1.0/build/bin:$PATH
LD_LIBRARY_PATH=/home/$USER/VTK-9.1.0/build/lib:${LD_LIBRARY_PATH}
QML2_IMPORT_PATH=/home/$USER/VTK-9.1.0/build/lib/qml
# (OPTIONAL) Override OpenGL version, only for older PC
export MESA_GL_VERSION_OVERRIDE=3.3