← Back to team overview

yade-users team mailing list archive

Re: [Question #673172]: InsertNextTupleValue does not exist in VTK 8.1?

 

Question #673172 on Yade changed:
https://answers.launchpad.net/yade/+question/673172

    Status: Open => Answered

Chareyre proposed the following answer:
Hi Luc, the clean solution is define conditional macros at build time
depending on vtk version. We could commit this if you provide it.
Thanks for mentionning this fix anyway.
Bruno

Le ven. 31 août. 2018 14:17, Luc OGER <question673172@xxxxxxxxxxxxxxxxxxxxx>
a écrit :

> New question #673172 on Yade:
> https://answers.launchpad.net/yade/+question/673172
>
> Hi,
>
> in my Linux distribution (Suse Leap 15.0) the standard VTK package is in
> version8.1 which does not contained  InsertNextTupleValue any more: the new
> name  is only InsertNextTuple.
>
> i have changed manually all the named function inside the cpp file but if
> I do a new git I will have to do it again. Is it a better solution to keep
> the compilation of the last development of Yade easy to manage?
>
> thanks in advance
>
> Luc
>
> see:
> trunk/pkg/dem/VTKRecorder.cpp:511:20: error: ‘class vtkDoubleArray’ has no
> member named ‘InsertNextTupleValue’; did you mean ‘InsertNextTuple’?
>      intrAbsForceT->InsertNextTupleValue(fs);
>                     InsertNextTuple
>
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.