"package require vtk" doesn't work in Ubuntu

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Rok Oblak
Posts: 33
Joined: Sat Jul 02, 2016 7:15 am

"package require vtk" doesn't work in Ubuntu

Post by Rok Oblak » Thu Aug 31, 2017 10:38 am

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

User avatar
Rok Oblak
Posts: 33
Joined: Sat Jul 02, 2016 7:15 am

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

Post by Rok Oblak » Thu Sep 07, 2017 11:54 am

Update: I "resolved" the issue by using an older version which used VTK 5.8 when importing it.

User avatar
Adam Updegrove
Posts: 236
Joined: Fri Aug 30, 2013 4:11 pm

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

Post by Adam Updegrove » Mon Sep 11, 2017 7:48 am

Hi Rok,

Sorry for the slow response. Thanks for the update!

SimVascular Development Team

POST REPLY