← Back to team overview

yade-users team mailing list archive

For compiling yade and kdevelop4

 

Hello everyone,

When I compiled my codes (.cpp and hpp) with yade using kdevelop4, There is an error. I donot understand. the following is the error:

 home/yu/build-0.50/plugins103.cpp
C /home/yu/build-0.50/plugins103.cpp
In file included from /home/yu/build-0.50/plugins103.cpp:1:
/home/yu/yade-0.50/pkg/dem/PreProcessor/Triaxial.cpp: In member function 'void Triaxial::createSphere(boost::shared_ptr<Body>&, Vector3r, Real, bool, bool)': /home/yu/yade-0.50/pkg/dem/PreProcessor/Triaxial.cpp:234: error: 'class Body' has no member named 'setDynamic' /home/yu/yade-0.50/pkg/dem/PreProcessor/Triaxial.cpp: In member function 'void Triaxial::createBox(boost::shared_ptr<Body>&, Vector3r, Vector3r, bool)': /home/yu/yade-0.50/pkg/dem/PreProcessor/Triaxial.cpp:257: error: 'class Body' has no member named 'setDynamic'
scons: *** [/home/yu/build-0.50/plugins103.os] Error 1
scons: building terminated because of errors.
yu@ubuntu:~/yade-0.50$

 what happened to my code? thanks

yaowei yu





Follow ups