[vtkusers] Wiki examples fail to build due to no InsertNextTypedTuple
david.gobbi at gmail.com
Thu May 26 11:02:00 EDT 2016
I use the following for compatibility, since the change occurred when
the vtkGenericDataArray class was introduced:
// For compatibility with new VTK generic data arrays
#define SetTupleValue SetTypedTuple
#define GetTupleValue GetTypedTuple
On Thu, May 26, 2016 at 8:47 AM, Bill Lorensen <bill.lorensen at gmail.com>
> Unfortunately, that API was changed and there is no tag that isolates
> the change. So we have to wait until the 7.1 release. For now, you can
> update your VTK to HEAD nad you should be fine.
> On Thu, May 26, 2016 at 5:27 AM, Elvis Stansvik
> <elvis.stansvik at orexplore.com> wrote:
> > I got some other errors as well. I'm attaching a diff of how I had to
> > the examples in order for them all to compile with 7.0.0.
> > Unfortunately don't have time right now to go through the wiki pages and
> > edit them.
> > Regards,
> > Elvis
> > 2016-05-26 10:51 GMT+02:00 Elvis Stansvik <elvis.stansvik at orexplore.com
> >> In several of the wiki examples, I get
> >> error: ‘class vtkUnsignedCharArray’ has no member named
> >> ‘InsertNextTypedTuple’
> >> colors->InsertNextTypedTuple(red);
> >> I can't find the InsertNextTypedTuple function in VTK 7.
> >> The change was made here:
> >> Where is InsertNextTypedTuple coming from?
> >> Elvis
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers