Skip to content

Build error in bindings #27

@angshuman-parashar

Description

@angshuman-parashar

I'm seeing the following build error when invoking pip3 install -e .:

    [ 78%] Building CXX object CMakeFiles/bindings.dir/bindings/mapping.cpp.o
    .../timeloop-python/bindings/mapping.cpp:52:21: error: no viable overloaded '='
              py::arg() = {}, py::arg() = {}, py::arg() = {},
              ~~~~~~~~~ ^ ~~
    .../timeloop-python/lib/pybind11/include/pybind11/cast.h:1127:12: note: candidate template ignored: couldn't infer template argument 'T'
    arg_v arg::operator=(T &&value) const {
               ^
    .../timeloop-python/lib/pybind11/include/pybind11/cast.h:1051:8: note: candidate function (the implicit copy assignment operator) not viable: cannot convert initializer list argument to 'const pybind11::arg'
    struct arg {
           ^
    .../timeloop-python/lib/pybind11/include/pybind11/cast.h:1051:8: note: candidate function (the implicit move assignment operator) not viable: cannot convert initializer list argument to 'pybind11::arg'

Metadata

Metadata

Assignees

No one assigned

    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