no converter found for c++ type

68 views
Skip to first unread message

joey keys

unread,
Oct 24, 2018, 4:32:17 AM10/24/18
to cortexdev
got traceback when trying to import IECore:

Traceback (most recent call last):
  File "/home/chenmiwei/Work/repos/gaffer/build/gaffer-0.50.0.0-linux/bin/gaffer.py", line 51, in <module>
    import IECore
  File "/usr/local/lib/python2.7/site-packages/IECore/__init__.py", line 57, in <module>
    from _IECore import *
TypeError: No to_python (by-value) converter found for C++ type: Imath_2_2::Vec2<float>

built with boost 1.68. 
Is there anybody ever encountered this problem? Any idea how to solve this?

Andrew Kaufman

unread,
Oct 24, 2018, 2:23:54 PM10/24/18
to cort...@googlegroups.com
I haven't hit that problem myself, but one of the changes in Cortex 10 was removing our Imath bindings and adopting the native ones (PyIlmBase), which need to be compiled per-boost version. I'd guess since you bumped the boost version from 1.61 to 1.68, you probably need to rebuild the Imath bindings as well.

Andrew


--
--
You received this message because you are subscribed to the "cortexdev" group.
To post to this group, send email to cort...@googlegroups.com
To unsubscribe from this group, send email to cortexdev-...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cortexdev?hl=en
---
You received this message because you are subscribed to the Google Groups "cortexdev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cortexdev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Andrew Kaufman - R&D Lead
Image Engine
studio: +1 (604) 874-5634 | and...@image-engine.com | www.image-engine.com



15 West 5th Avenue, Vancouver, BC, V5Y 1H4, Canada

If you are not the intended recipient, disclosure, copying, distribution and use of this email is prohibited. Please notify us immediately and delete this email from your systems. You may contact us at in...@image-engine.com if you do not wish to receive further commercial electronic messages. We may still send you messages for which we do not require consent.

joey keys

unread,
Oct 25, 2018, 11:37:36 PM10/25/18
to cort...@googlegroups.com
Thanks for the advice, I'll try it

Andrew Kaufman <and...@image-engine.com> 于2018年10月25日周四 上午2:23写道:
Reply all
Reply to author
Forward
0 new messages