Python API problem

I want to make python API in Toy tourial using boost python,I write CMakeLists.txt,but a prolem comes out when Derived.1 problem is unreference to “typeinfo for mlir::Dialect”.unreference to “typeinfo for mlir::Dialect” in stackoverflow can’t help me,and I need help

This indicates that you’re trying to link objects builds with -fno-rtti (LLVM default setting) with objects build without this option. You need to pass this option there as well (or enable RTTI in your LLVM build, search for RTTI on this page for the option)

2 Likes