when"make" an error occures

Asked by sandedadi

[ 72%] Building CXX object CMakeFiles/yade.dir/pkg/dem/VTKRecorder.cpp.o
/home/zwq/yade/trunk/pkg/dem/VTKRecorder.cpp: In member function ‘virtual void VTKRecorder::action()’:
/home/zwq/yade/trunk/pkg/dem/VTKRecorder.cpp:876:13: error: ‘class vtkXMLUnstructuredGridWriter’ has no member named ‘SetInput’
     writer->SetInput(spheresUg);

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,
please read [1] and add at least the most basic info to your question
(version of Yade, operating system etc.). With compiling problems, cmake
output might be very useful (showing version of VTK for instance).
even if you gave some info in [2], it would not hurt to add at least the
link (e.g. for those who read only unanswered questions). We can just guess
that the problem is on the same computer. Quite important information, what
has changed since [2] or why is the output different?
cheers
Jan

[1] https://yade-dem.org/wiki/Howtoask
[2] https://answers.launchpad.net/yade/+question/326649

2016-08-06 12:17 GMT+02:00 sandedadi <email address hidden>:

> New question #326664 on Yade:
> https://answers.launchpad.net/yade/+question/326664
>
> [ 72%] Building CXX object CMakeFiles/yade.dir/pkg/dem/VTKRecorder.cpp.o
> /home/zwq/yade/trunk/pkg/dem/VTKRecorder.cpp: In member function ‘virtual
> void VTKRecorder::action()’:
> /home/zwq/yade/trunk/pkg/dem/VTKRecorder.cpp:876:13: error: ‘class
> vtkXMLUnstructuredGridWriter’ has no member named ‘SetInput’
> writer->SetInput(spheresUg);
>
>
> --
> 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 : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
张文卿 (sandedadi) said :
#2

By updating my ubantu system, I have solved this problem ,thank you :)

Can you help with this problem?

Provide an answer of your own, or ask sandedadi for more information if necessary.

To post a message you must log in.