[vtk-developers] Building VTK 5.4.2 w/ Tcl/Tk 8.6 -- still getting errors?

kent williams nkwmailinglists at gmail.com
Wed Jun 9 12:04:00 EDT 2010


According to this bug report, you should be able to build VTK 5.4.2
with Tcl/Tk 8.6b1:

http://public.kitware.com/Bug/view.php?id=7822

But I had to edit one file:

===================================================================
RCS file: /cvsroot/VTK/VTK/Common/vtkTclUtil.cxx,v
retrieving revision 1.95
diff -r1.95 vtkTclUtil.cxx
31a32,36
> #if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 6)
> #define TCL_ERROR_LINE(m) (Tcl_GetErrorLine(m))
> #else
> #define TCL_ERROR_LINE(m) (m->errorLine)
> #endif
493c498
<                              " at line number " << arg2->interp->errorLine);
---
>                              " at line number " << TCL_ERROR_LINE(arg2->interp));
499c504
<                              " at line number " << arg2->interp->errorLine);
---
>                              " at line number " << TCL_ERROR_LINE(arg2->interp));
726c731
<                              " at line number " << this->Interp->errorLine);
---
>                              " at line number " << TCL_ERROR_LINE(this->Interp));
733c738
<                              this->Interp->errorLine);
---
>                              TCL_ERROR_LINE(this->Interp));

Is this fixed in vtk 5.6.0?



More information about the vtk-developers mailing list