Page 1 of 1

"package require vtk" doesn't work in Ubuntu

Posted: Thu Aug 31, 2017 10:38 am
by oblakr24
Hi SimVascular team,

I have a problem running SimVascular in batch mode in Ubuntu. When I try the command "package require vtk", I get the following error:

package Tk 8.6 is not present
attempt to provide package vtkRenderingTkTCL 6.2 failed: no version of package vtkRenderingTkTCL provided
attempt to provide package vtkrenderingtk 6.2 failed: no version of package vtkrenderingtk provided
attempt to provide package vtk 6.2 failed: no version of package vtk provided

I'm trying this on an older SV version but I tried it on the latest one and I get the same error.
Curiously enough, I also tried this on my VM Ubuntu, where I don't get this error, I can correctly import the package.

puts $auto_path outputs this:
/home/xxxx/simvascular/Externals/lib/tcltk/modules /home/xxxx/simvascular/Externals/lib/tcl8.6 /home/xxxx/simvascular/Externals/lib /home/xxxx/simvascular/lib /usr/local/SV16/bin/gcc-4.8/x64/tcltk-8.6.4/lib

Any idea how to fix this?

Thanks,
Rok

Re: "package require vtk" doesn't work in Ubuntu

Posted: Thu Sep 07, 2017 11:54 am
by oblakr24
Update: I "resolved" the issue by using an older version which used VTK 5.8 when importing it.

Re: "package require vtk" doesn't work in Ubuntu

Posted: Mon Sep 11, 2017 7:48 am
by adam
Hi Rok,

Sorry for the slow response. Thanks for the update!

SimVascular Development Team