This is the file in VTK v5.6.0 :<br><br><a href="http://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Common/vtkTclUtil.cxx;h=65cc6d9802e520564a0f5bb2d061ace8d2de0929;hb=0c2379496f8eb1767698c9eade4b656c8649ac2f">http://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Common/vtkTclUtil.cxx;h=65cc6d9802e520564a0f5bb2d061ace8d2de0929;hb=0c2379496f8eb1767698c9eade4b656c8649ac2f</a><br>
<br>So, no, it does not contain those changes in 5.6.0 either. And even with those changes, it won&#39;t work when Tcl goes to major version 9... The #ifdef goes to the &quot;old way&quot; if TCL_MAJOR_VERSION is non-8...<br>
<br><br><br><br><div class="gmail_quote">On Wed, Jun 9, 2010 at 12:04 PM, kent williams <span dir="ltr">&lt;<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
According to this bug report, you should be able to build VTK 5.4.2<br>
with Tcl/Tk 8.6b1:<br>
<br>
<a href="http://public.kitware.com/Bug/view.php?id=7822" target="_blank">http://public.kitware.com/Bug/view.php?id=7822</a><br>
<br>
But I had to edit one file:<br>
<br>
===================================================================<br>
RCS file: /cvsroot/VTK/VTK/Common/vtkTclUtil.cxx,v<br>
retrieving revision 1.95<br>
diff -r1.95 vtkTclUtil.cxx<br>
31a32,36<br>
&gt; #if (TCL_MAJOR_VERSION == 8) &amp;&amp; (TCL_MINOR_VERSION &gt;= 6)<br>
&gt; #define TCL_ERROR_LINE(m) (Tcl_GetErrorLine(m))<br>
&gt; #else<br>
&gt; #define TCL_ERROR_LINE(m) (m-&gt;errorLine)<br>
&gt; #endif<br>
493c498<br>
&lt;                              &quot; at line number &quot; &lt;&lt; arg2-&gt;interp-&gt;errorLine);<br>
---<br>
&gt;                              &quot; at line number &quot; &lt;&lt; TCL_ERROR_LINE(arg2-&gt;interp));<br>
499c504<br>
&lt;                              &quot; at line number &quot; &lt;&lt; arg2-&gt;interp-&gt;errorLine);<br>
---<br>
&gt;                              &quot; at line number &quot; &lt;&lt; TCL_ERROR_LINE(arg2-&gt;interp));<br>
726c731<br>
&lt;                              &quot; at line number &quot; &lt;&lt; this-&gt;Interp-&gt;errorLine);<br>
---<br>
&gt;                              &quot; at line number &quot; &lt;&lt; TCL_ERROR_LINE(this-&gt;Interp));<br>
733c738<br>
&lt;                              this-&gt;Interp-&gt;errorLine);<br>
---<br>
&gt;                              TCL_ERROR_LINE(this-&gt;Interp));<br>
<br>
Is this fixed in vtk 5.6.0?<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br>