Open nikoltchovskaa opened 6 years ago
@nikoltchovskaa could you please try building from source code and then running? This way you'll be able to see which declaration causes the crash.
Another option is to get us a minified repro to work with... The easiest way to do that is to create a single header file that includes all the files you want to bind. Then you run that file against clang -E
and that should give you a single self-contained (no #include
directives) header file that you can pass to CppSharp.
You should be able to replicate the crash at this point with this new header file. Now you can start to remove portions of the header file manually until it stops reproducing the crash. Repeat this until you have a reasonable amount of code left and send it to us.
@ddobrev I already build it from source code..
@nikoltchovskaa could you then try attaching a debugger? If not, @tritao 's advice is also useful.
Brief Description
Hello, I'm trying to generate C# bindings for a project made with grpc (https://grpc.io/), using all headers used by the grpc interface. I am using CppSharp for the first time and I am getting the following exception:
OS: OS X
Used headers
I am using quite a lot of headers:
Used settings
Target: Clang