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_VTK6") IF(${VTK_MAJOR_VERSION} GREATER 7) ADD_DEFINITIONS("-DYADE_VTK8") MESSAGE(STATUS "VTK version >7 is found") ELSE(${VTK_MAJOR_VERSION} GREATER 7) MESSAGE(STATUS "VTK version >5 and <8 is found") ENDIF(${VTK_MAJOR_VERSION} GREATER 7) ELSE(${VTK_MAJOR_VERSION} GREATER 5) TARGET_LINK_LIBRARIES(yade vtkHybrid) ENDIF(${VTK_MAJOR_VERSION} GREATER 5) ENDIF(ENABLE_VTK) i have also modifed VTKrecorder.cpp according to YADE_VTK8 variable but I don't know how to send it... Luc -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp