Unfortunately, at present, the FFI mechanism does not work with C++ code. As the C++ function name-mangling convention is not standardized, there is no portable mechanism for converting a C++ function name to a linker symbol.As discussed further in section VII, this presents a serious impediment to further OpenCV-FFI development.