You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to add Mac OS support, and create multi arch jar. I thought I could run jnaerator and generate the binding but this seems to be the hardest part. jnaerator often crashes with NPE or generate incomplete code. Would you tell me where to start? thanks
The text was updated successfully, but these errors were encountered:
I got it working with a bit of patch, and manually copied dynamic libraries to src/main/resources/lib/darwin-x86_64 directory. FYI, the generated JNA sources work for both Linux and Darwin native libs. To make sure, I generated them on both OS, and compared. They match exactly.
My only experience with jnaerator is this project, so I can't help very much to your specific problem.
Yes, I'm in favor having a configuration option of loading native libraries if they already exist on OS, or a build profile for maven that doesn't package in the native libraries and assumes they exist already on the host; unfortunately, my primary case for jjq is hjq (https://github.com/bskaggs/hjq) where I can't rely on optional libraries being installed (or easily instalable) on Hadoop clusters.
If you make your change a pull request, I'll happily and thankfully merge it in.
I would like to add Mac OS support, and create multi arch jar. I thought I could run jnaerator and generate the binding but this seems to be the hardest part. jnaerator often crashes with NPE or generate incomplete code. Would you tell me where to start? thanks
The text was updated successfully, but these errors were encountered: