Skip to content

Python Binding Troubleshooting

Jeongseok Lee edited this page Sep 20, 2018 · 3 revisions

pybind11

  • pybind11 doesn't support to take std::unique_ptr<T>& as a function parameter

Boost.Python

  • Error: TypeError: No to_python (by-value) converter found for C++ type: std::shared_ptr<X const>
  • Fix: Disable const overloads by adding 'std::shared_ptr<const X>' to types: section of the YAML configuration file