Closed woodser closed 8 months ago
There is a bounty on this issue. The amount is in the title. The reward will be awarded to the first person or group of people who resolve this issue.
If you are starting to work on this bounty, please write a comment so that we can assign the issue to you. We expect contributors to provide a PR in a reasonable timeframe or, in case of an extensive work, updates on their progress. We will unassign the issue if we feel the assignee is not responsive or has abandoned the task.
Read the full conditions and details of the bounty system.
I'm trying to debug, it seems that libmonero-java.dll failed to load other dlls:
I just put C:\msys64\mingw64\bin the Path environment variable and now it works:
I don't know if it is a good solution, maybe compiling the library with -static param can solve this issue
Hm, I tried adding C:\msys64\mingw64\bin to the Path environment variable, but I'm still getting the UnsatisfiedLinkError running the test in VS Code.
Dependency walker looks much better after adding to Path, though:
This issue is resolved with https://github.com/woodser/monero-java/commit/45360d1d901af7b9d59ade2177d65d11c503bc73, and the bounty is paid. Thanks @everoddandeven!
Currently, native libraries are built for Windows, producing these files:
However, using the native libraries results in an error when using JNI functions: "UnsatisfiedLinkError".
To reproduce the failure in a test:
testGetIntegratedAddresses()
.UnsatisfiedLinkError
: