<p dir="ltr">Den 30 maj 2016 5:27 em skrev "Bill Lorensen" <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>>:<br>
><br>
> Elvis,<br>
><br>
> I updated the wiki examples using the approach that David Gobbi<br>
> suggested. Please update and let me know if everything builds OK.</p>
<p dir="ltr">Thanks a lot. Will test when I'm back at work tomorrow, where I have things set up.</p>
<p dir="ltr">Elvis</p>
<p dir="ltr">><br>
> Thanks,<br>
><br>
> Bill<br>
><br>
><br>
> On Thu, May 26, 2016 at 11:02 AM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
> > I use the following for compatibility, since the change occurred when<br>
> > the vtkGenericDataArray class was introduced:<br>
> ><br>
> > // For compatibility with new VTK generic data arrays<br>
> > #ifdef vtkGenericDataArray_h<br>
> > #define SetTupleValue SetTypedTuple<br>
> > #define GetTupleValue GetTypedTuple<br>
> > #endif<br>
> ><br>
> > On Thu, May 26, 2016 at 8:47 AM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
> > wrote:<br>
> >><br>
> >> Unfortunately, that API was changed and there is no tag that isolates<br>
> >> the change. So we have to wait until the 7.1 release. For now, you can<br>
> >> update your VTK to HEAD nad you should be fine.<br>
> >><br>
> >> Bill<br>
> >><br>
> >><br>
> >> On Thu, May 26, 2016 at 5:27 AM, Elvis Stansvik<br>
> >> <<a href="mailto:elvis.stansvik@orexplore.com">elvis.stansvik@orexplore.com</a>> wrote:<br>
> >> > I got some other errors as well. I'm attaching a diff of how I had to<br>
> >> > change<br>
> >> > the examples in order for them all to compile with 7.0.0.<br>
> >> ><br>
> >> > Unfortunately don't have time right now to go through the wiki pages and<br>
> >> > edit them.<br>
> >> ><br>
> >> > Regards,<br>
> >> > Elvis<br>
> >> ><br>
> >> ><br>
> >> > 2016-05-26 10:51 GMT+02:00 Elvis Stansvik<br>
> >> > <<a href="mailto:elvis.stansvik@orexplore.com">elvis.stansvik@orexplore.com</a>>:<br>
> >> >><br>
> >> >> In several of the wiki examples, I get<br>
> >> >><br>
> >> >><br>
> >> >><br>
> >> >> /home/estan/orexplore/VTKWikiExamples/Cxx/GeometricObjects/ColoredLines.cxx:72:13:<br>
> >> >> error: ‘class vtkUnsignedCharArray’ has no member named<br>
> >> >> ‘InsertNextTypedTuple’<br>
> >> >> colors->InsertNextTypedTuple(red);<br>
> >> >><br>
> >> >> I can't find the InsertNextTypedTuple function in VTK 7.<br>
> >> >><br>
> >> >> The change was made here:<br>
> >> >><br>
> >> >><br>
> >> >><br>
> >> >> <a href="http://www.vtk.org/Wiki/index.php?title=VTK%2FExamples%2FCxx%2FGeometricObjects%2FColoredLines&diff=59278&oldid=59243">http://www.vtk.org/Wiki/index.php?title=VTK%2FExamples%2FCxx%2FGeometricObjects%2FColoredLines&diff=59278&oldid=59243</a><br>
> >> >><br>
> >> >> Where is InsertNextTypedTuple coming from?<br>
> >> >><br>
> >> >> Elvis<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
> ><br>
> > Visit other Kitware open-source projects at<br>
> > <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
> ><br>
> > Please keep messages on-topic and check the VTK FAQ at:<br>
> > <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> ><br>
> > Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a><br>
> ><br>
> > Follow this link to subscribe/unsubscribe:<br>
> > <a href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> Unpaid intern in BillsBasement at noware dot com<br>
</p>