With the new SVN it still has this same error. :(
At some point in the future, I would like to make a wrapper for the
VectorX classes and the ColourValue class to have them interchangeable
with python tuples/lists.
Example:
entity.setPosition (Ogre.Vector3(500.0, 1000.0, 200.0))
could (in the future) be written as:
entity.setPosition ([500.0, 1000.0, 200.0])
Is this something that I do by writing a cpp wrapper using
Boost.python, and include it when I compile? Or can I specify this in
a nice way using python and py++?
Lakin
On 5/30/06, Roman Yakovenko <rom...@gm...> wrote:
> On 5/30/06, Lakin Wecker <lak...@gm...> wrote:
> > 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.
>
> Bon appetite :-). I will check this.
>
>
> --
> Roman Yakovenko
> C++ Python language binding
> http://www.language-binding.net/
>
|