Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# bindings for existing complex libraries #45

Open
mariuszhermansdorfer opened this issue Dec 7, 2022 · 1 comment
Open

C# bindings for existing complex libraries #45

mariuszhermansdorfer opened this issue Dec 7, 2022 · 1 comment

Comments

@mariuszhermansdorfer
Copy link

I'm trying to generate c# bindings for existing open-source c++ geometry processing libraries. One example would be the Polygon Mesh Processing library.

My naive attempt to reuse the example and just add the entire pmp source code to the example source folder fails miserably.

What would be the correct way of generating c# bindings for pmp?

@Boris-Rasin
Copy link
Member

Current version of Scapix cannot directly handle complex C++ libraries with template interfaces.

Your best bet would be to create your own C++ wrapper code around such library, providing more limited (non templated) interface your C# code specifically needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants