By very recently, they mean as in the email that started this thread:<br><br>The error is caused by a recent change in VTK:<br><<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://public.kitware.com/cgi-bin/viewcvs.cgi/IO/vtkDataReader.cxx?r1=1.143&r2=1.144" target="_blank">
http://public.kitware.com/cgi-bin/viewcvs.cgi/IO/vtkDataReader.cxx?<br>r1=1.143&r2=1.144</a>><br><br>Line 1167 and 1187:<br>vtkTypeInt64 *ptr = ((vtkTypeInt64Array *)array)-<br>>WritePointer(0,numTuples<div style="direction: ltr;">
*numComp);<br>vtkTypeUInt64 *ptr = ((vtkTypeUInt64Array *)array)-<br>>WritePointer(0,numTuples*numComp);<br><br></div><br><br><div><span class="gmail_quote">On 6/20/07, <b class="gmail_sendername">Brad King</b> <<a href="mailto:brad.king@kitware.com">
brad.king@kitware.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Sean McBride wrote:<br>> On 6/18/07 6:19 PM, Brad King said:
<br>><br>>> as the type sizes are configured properly in the CMake cache.  Universal<br>>> binaries create a serious problem here if the different architectures<br>>> can have different type sizes.  We can work around it on the compiler
<br>>> level by using the proprocessor appropriately.  Getting the Tcl wrappers<br>>> to behave is a whole new problem.<br>><br>> Not to be a pest :), but what's the plan here? :)<br>><br>> For us, building 4-way universal binaries is a must, and it has been
<br>> working until very recently.<br><br>What do you mean by "very recently"?  The vtkType stuff has been there<br>for 2 years almost unchanged. AFAICT this should have always been a problem.<br><br>A temporary solution is to follow your proposal to consider long long
<br>before long when looking for a 64-bit integer type.  Let's go with that<br>for now.<br><br>The real problem is that the vtkTypeInt64Array class is defined<br>differently depending on the architecture.  Instead of generating the
<br>class it should make the selection at preprocessing time.  Some kind of<br>hack will have to be put in to the Tcl wrappers to make the same<br>selection at preprocessing time when compiling the wrappers.<br><br>-Brad<br>
_______________________________________________<br>vtk-developers mailing list<br><a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a><br><a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers
</a><br></blockquote></div><br>