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

Add C++ example #101

Open
aufdenkampe opened this issue Apr 10, 2024 · 1 comment · May be fixed by #105
Open

Add C++ example #101

aufdenkampe opened this issue Apr 10, 2024 · 1 comment · May be fixed by #105

Comments

@aufdenkampe
Copy link

As mentioned in #97 (comment):

Unfortunately, @Volk3rJ, @ptomasula, and I had quite a bit of trouble following your previous Babelizer documentation to build https://github.com/csdms/bmi-example-cxx. We're hoping for more success with this meson build approach.

Can you provide a C++ example?

Such an example would help us understand what's happening under-the-hood, especially with how object-oriented C++ objects and functions are exchanged as primitive types among other languages with BMI.

@mdpiper mdpiper linked a pull request Apr 12, 2024 that will close this issue
@aufdenkampe
Copy link
Author

This example works for MacOS but not on Windows, as mentioned with #105 (comment), but @Volk3rJ had issues on Linux, as mentioned in #107.

Both of us used a conda environment created from the head of the mdpiper/add-cxx-example branch using this file: https://github.com/LimnoTech/babelizer-examples/blob/main/environment.yml.

It would be great to keep up the momentum on fixing these issues with Babelizer and merge these outstanding PRs:

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

Successfully merging a pull request may close this issue.

1 participant