← Back to team overview

yade-dev team mailing list archive

Re: compile error in r1817

 

I'll keep it out of bug reports for now, since this is more a description of what happens (sometimes) when you try and update your trunk (part of the reason why some users never update) than a bug.

I could finaly compile revision 1812, and I can run it witout any segfault. Very good. The funny part is the only available simulation in QtGui is... ? Triaxial test. I guess this is a bug designed for me! All other examples disapeared. They are not in yade/lib either. No point finding the reason though, I need to fix the problem with last revision anyway.

For gcc, I'm using version v4.2, what about you?

Bruno



Bruno Chareyre a écrit :
I have this problem with 1813 < revno < 1817.
Trying 1812 now, it compiles, but it will give me a segfault at runtime if I remember correctly...

Would it be better to use bug reports for compile errors?

Bruno


Bruno Chareyre a écrit :
Looks like it is not time to "bzr update"...
I wonder why it compiles for you.

Bruno

pkg/dem/meta/Shop.cpp: In static member function 'static boost::shared_ptr<Body> Shop::sphere(Wm3::Vector3r, Real, boost::shared_ptr<Material>)': pkg/dem/meta/Shop.cpp:281: error: operands to ?: have different types 'boost::shared_ptr<Material>' and 'boost::shared_ptr<GranularMat>' pkg/dem/meta/Shop.cpp: In static member function 'static boost::shared_ptr<Body> Shop::box(Wm3::Vector3r, Wm3::Vector3r, boost::shared_ptr<Material>)': pkg/dem/meta/Shop.cpp:294: error: operands to ?: have different types 'boost::shared_ptr<Material>' and 'boost::shared_ptr<GranularMat>' pkg/dem/meta/Shop.cpp: In static member function 'static boost::shared_ptr<Body> Shop::tetra(Wm3::Vector3r*, boost::shared_ptr<Material>)': pkg/dem/meta/Shop.cpp:308: error: operands to ?: have different types 'boost::shared_ptr<Material>' and 'boost::shared_ptr<GranularMat>'
scons: *** [/home/bruno/YADE/build-bzr-opt/pkg/dem/meta/Shop.os] Error 1
scons: building terminated because of errors.





--

_______________
Chareyre Bruno
Maître de Conférences

Grenoble INP
Laboratoire 3SR - bureau E145
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________




Follow ups

References