← Back to team overview

yade-users team mailing list archive

Re: deserialization error


> =====> 
> Omega::instance().getSimulationFileName()=scene.xml
> Attribute is not defined : engines
> terminate called after throwing an instance of 'boost::bad_lexical_cast'
>   what():  bad lexical cast: source type value could not be interpreted as 
> target
> <=====
> At replacement  vector<shared_ptr<Engine> > on vector<int> the error 
> disappears and "scene.xml" is successfully loaded.
Hi, I am not entirely competent here, but current serializers cannot 
serialize pointers ("source type value could not be interpreted as target").
> I apply all sources and the generated file "scene.xml". File "SConstruct" was 
> used by me for compilation of my library (there can be I has not specified 
> here any of necessary libraries?).
SConstruct is the master scons file, all details (what libs do you link 
with etc) can be found in */SConscript files.

Yade-users mailing list