Now it works, I was including the virtual destructor in the functor Ip_* So, shouldn't I? Why? Thanks, Chiara
>----Messaggio originale---- >Da: [email protected] >Data: 01/02/2010 19.27 >A: <[email protected]> >Ogg: [Yade-dev] R: Re: Error plugin > >Actually I was including in the header file the virtual destructor.. So why is >it giving me such error? >Cheers, Chiara > >>----Messaggio originale---- >>Da: [email protected] >>Data: 01/02/2010 18.18 >>A: <[email protected]> >>Ogg: Re: [Yade-dev] Error plugin >> >>> undefined symbol `typeinfo for Ip2_MindlinMat_MindlinMat_MindlinPhys' >>> 55 [0x7f7571dca7f0] FATAL yade.Omega null >>https://www.yade-dem.org/sphinx/prog.html#run-time-type-identification-rtti >(in the warning box). Easiest way is to declare a virtual desctructor in the >header, then make its empry implementation in the .cpp file. (see e.g. >NormShearPhys) >> >>v >> >> >>_______________________________________________ >>Mailing list: https://launchpad.net/~yade-dev >>Post to : [email protected] >>Unsubscribe : https://launchpad.net/~yade-dev >>More help : https://help.launchpad.net/ListHelp >> > > > >_______________________________________________ >Mailing list: https://launchpad.net/~yade-dev >Post to : [email protected] >Unsubscribe : https://launchpad.net/~yade-dev >More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

