Skip to content

imath Python module signatures do not match and throw errors #2

Description

@panta

imath Python module signatures do not match and throw errors (at least when used from alembic module):

    $ cd Alembic_1.5.3_2013121700/python/PyAlembic/Tests/
    $ python testXform.py

    Running testXformBinding
    Traceback (most recent call last):
      File "testXform.py", line 204, in <module>
        test[1]()
      File "testXform.py", line 192, in testXformBinding
        xformOut()
      File "testXform.py", line 77, in xformOut
        asamp.addOp(transop, V3d(12.0, i+42.0, 20.0))
    Boost.Python.ArgumentError: Python argument types in
        XformSample.addOp(XformSample, XformOp, V3d)
    did not match C++ signature:
        addOp(Alembic::AbcGeom::v7::XformSample {lvalue}, Alembic::AbcGeom::v7::XformOp op)
        addOp(Alembic::AbcGeom::v7::XformSample {lvalue}, Alembic::AbcGeom::v7::XformOp axisRotateOp, double degrees)
        addOp(Alembic::AbcGeom::v7::XformSample {lvalue}, Alembic::AbcGeom::v7::XformOp matrixOp, Imath::Matrix44<double> matrix)
        addOp(Alembic::AbcGeom::v7::XformSample {lvalue}, Alembic::AbcGeom::v7::XformOp rotateOp, Imath::Vec3<double> axis, double degrees)
        addOp(Alembic::AbcGeom::v7::XformSample {lvalue}, Alembic::AbcGeom::v7::XformOp transOrScaleOp, Imath::Vec3<double> value)

Please see this thread for others having the same problem.

See also:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions