Closed wdecoster closed 1 year ago
Are you using the bindings i added? In that case I'd recommend looking at https://github.com/pairwise-alignment/rust-wfa2 instead. This bindings I originally generated here were my first time doing that and other people have made much better bindings that compile standalone and should build without issues.
(But your problem looks more WSL specific so it may not actually fix anything.)
Yes I am using https://github.com/smarco/WFA2-lib/blob/main/bindings/rust/build.rs, but thank you for the other suggestion. I will try those then :-) Could you get me started in using those? Do I use them in the same way as the bindings here?
Here's a usage example https://github.com/pairwise-alignment/pa-bench/blob/main/runner/src/wrappers/wfa.rs
Thank you! I will see if I can figure it out, and open an issue in the appropriate repository if I need further help.
Hi,
I'm trying to use the rust bindings in a rust project, but fail to build it. I think I may have to tag @RagnarGrootKoerkamp here?
It is the very first time that I do something like this, so I don't really know where to start debugging this. I am developing in WSL.
So I cloned the repository and ran
I've added bindgen to the build dependencies and the build.rs file in the
src
directory of my rust project, adapting the paths from wfa2 toWFA2-lib
to match the repository name.Building seems to find the files, but then runs into the error below:
What can I do to debug the issue here? Or is there an obvious thing I did wrong?
Thanks!