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

2018-09-17 Thread Bruno Chareyre
Question #673172 on Yade changed: https://answers.launchpad.net/yade/+question/673172 Bruno Chareyre proposed the following answer: Change commited [1]. Thank you very much. Bruno [1] https://github.com/yade/trunk/commit/e0b91ef5f19eb8abb1cc3c24650cbcdc4ce4dc12 -- You received this question not

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

2018-09-17 Thread Bruno Chareyre
Question #673172 on Yade changed: https://answers.launchpad.net/yade/+question/673172 Bruno Chareyre posted a new comment: Please ignore the above questions. Just found that there were two blocks about vtk, and your fragment is obviously a replacement for the second one. Bruno -- You received t

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

2018-09-17 Thread Bruno Chareyre
Question #673172 on Yade changed: https://answers.launchpad.net/yade/+question/673172 Bruno Chareyre requested more information: Dear Luc, I'm preparing to commit your changes but I have a quick question: is the above CMakeLists fragment supposed to replace the current "IF(ENABLE_VTK)" block or

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

2018-09-11 Thread Bruno Chareyre
Question #673172 on Yade changed: https://answers.launchpad.net/yade/+question/673172 Bruno Chareyre proposed the following answer: Excellent! Thanks. Could you please send VTKrecorder.cpp as an attachment, in email to yade-...@lists.launchpad.net? Bruno -- You received this question notificati

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

2018-09-10 Thread Luc OGER
Question #673172 on Yade changed: https://answers.launchpad.net/yade/+question/673172 Luc OGER posted a new comment: inisde the CMakefilelist.txt this is the change: IF(ENABLE_VTK) IF(${VTK_MAJOR_VERSION} GREATER 5) TARGET_LINK_LIBRARIES(yade ${VTK_LIBRARIES}) ADD_DEFINITIONS("-DYADE_V

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

2018-08-31 Thread Chareyre
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

[Yade-users] [Question #673172]: InsertNextTupleValue does not exist in VTK 8.1?

2018-08-31 Thread Luc OGER
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