View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011810VTK(No Category)public2011-02-07 10:232013-01-19 11:01
ReporterJens Thomas 
Assigned ToDavid Gobbi 
PlatformWindowsOSServer 2008 HPCOS Version6.0.6001
Product Version 
Target VersionFixed in Version 
Summary0011810: VTK 5.6.1 fails to build against Tcl due to errorline being declared private in the Tcl_Interp structure
The problem is that by default, the members of the Tcl_Interp structure are no longer visible by default in the public header.

As a result errorLine is not accessible, and should instead be accessed using Tcl_GetErrorLine

This issue appears to have already been raised on the developer list: [^]

But no bug appears to have been filed and checking the latest source from git, VTK/Common/vtkTclUtil.cxx still uses the errorLine rather then Tcl_GetErrorLine.

TagsNo tags attached.
Attached Files


David Partyka (developer)
2011-02-07 10:36

We'll keep an eye on tcl 4.6. It is still in beta though.
ycollet (reporter)
2012-05-16 04:07

vtk-5.8.0 has also the problem:

/home/collette/VTK-5.8.0/Common/vtkTclUtil.cxx: In function ‘void vtkTclVoidFunc(void*)’:
/home/collette/VTK-5.8.0/Common/vtkTclUtil.cxx:490:7: erreur: ‘struct Tcl_Interp’ has no member named ‘errorLine’
/home/collette/VTK-5.8.0/Common/vtkTclUtil.cxx:497:7: erreur: ‘struct Tcl_Interp’ has no member named ‘errorLine’
/home/collette/VTK-5.8.0/Common/vtkTclUtil.cxx: In member function ‘virtual void vtkTclCommand::Execute(vtkObject*, long unsigned int, void*)’:
/home/collette/VTK-5.8.0/Common/vtkTclUtil.cxx:723:7: erreur: ‘struct Tcl_Interp’ has no member named ‘errorLine’
/home/collette/VTK-5.8.0/Common/vtkTclUtil.cxx:730:7: erreur: ‘struct Tcl_Interp’ has no member named ‘errorLine’
make[2]: *** [Common/CMakeFiles/vtkCommonTCL.dir/vtkTclUtil.cxx.o] Erreur 1
make[1]: *** [Common/CMakeFiles/vtkCommonTCL.dir/all] Erreur 2

I added:


in the top of Common/vtkTclUtil.h (before the #include ...).

And it compiles fine.
ycollet (reporter)
2012-05-16 04:44

tcl 8.6beta is shipped as the default TCL interpreter in mageia and mandriva.
Andrzej Giniewicz (reporter)
2012-12-22 06:19

Issue also occurs in VTK 5.10.1. TCL 8.6 is now released (20'th Dec 2012), and it becomes default for more distributions.
David Gobbi (developer)
2013-01-19 11:01

Fixed by commit 792a0602 in master branch on Jan 18, 2013.

 Issue History
Date Modified Username Field Change
2011-02-07 10:23 Jens Thomas New Issue
2011-02-07 10:26 David Partyka Assigned To => David Partyka
2011-02-07 10:26 David Partyka Status backlog => tabled
2011-02-07 10:36 David Partyka Note Added: 0025312
2012-05-16 04:07 ycollet Note Added: 0028606
2012-05-16 04:44 ycollet Note Added: 0028607
2012-12-22 06:19 Andrzej Giniewicz Note Added: 0029941
2013-01-19 10:58 David Gobbi Assigned To David Partyka => David Gobbi
2013-01-19 10:58 David Gobbi Status backlog => tabled
2013-01-19 11:01 David Gobbi Note Added: 0030198
2013-01-19 11:01 David Gobbi Status tabled => closed
2013-01-19 11:01 David Gobbi Resolution open => fixed

Copyright © 2000 - 2018 MantisBT Team