Re: [pygccxml-development] Re: TypeError: No to_python (by-value) converter found for C++ type: Ogre
Brought to you by:
mbaas,
roman_yakovenko
From: Lakin W. <lak...@gm...> - 2006-05-30 18:11:31
|
I haven't tried your fix with SVN, I am going to do that right now. But I had just written this letter, so I'll send it to the list anyways. But stay tuned for an update on this situation as well. Now, I'm getting this error: TypeError: No to_python (by-value) converter found for C++ type: Ogre::Vector3 And in this case, Vector3 is copyable. (IE: there is no non_copyable stuff in the pypp generated source). I'm not sure how to proceed. But it's lunch time anyways, so I'm going to go eat. Lakin On 5/30/06, Roman Yakovenko <rom...@gm...> wrote: > > Sorry for the confusion. I meant to say: It doesn't explicitly > > disable the copy constructor. > > > > In the meantime I am going to use something like: > > > > copyable_list = [ 'Vector3', 'Vector4', 'ColourValue', 'Vector2', ] > > for copyable in copyable_list: > > classes = ogre_ns.classes (copyable, allow_empty=True) > > classes.noncopyable = False > > > > To get around it. > > :-), too late I already fixed the bug. Fix in SVN. > But I am glad, that you found work around. > > > I forgot, that "union" is always copyable. My fault. > > > > Lakin > > > > > -- > Roman Yakovenko > C++ Python language binding > http://www.language-binding.net/ > |