The main problem is that the code generated by C++ with name mangling, inlining, memory management and templates, it's handling of this makes it a challenge to describe the C++ to the Kotlin compiler. With C Interop you are calling functions with names and arguments. You will need to create a wrapper that represents the C++ as a collection of C functions.