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

Support building static libraries with shared library wrapper [4 XMR] #74

Open
woodser opened this issue Feb 23, 2024 · 2 comments
Open
Labels
💰bounty There is a bounty on this issue

Comments

@woodser
Copy link
Owner

woodser commented Feb 23, 2024

This issue requests building monero-java and monero-cpp to static libraries so all dependencies are self-contained, with a shared library wrapper to access libmonero-java in JNI.

For example: libmonero-cpp.a, libmonero-java.a, and libmonero-java.so.

This will allow the libraries to run on Windows without MSYS2 dependency.

The libraries should build on x86_64 and ARM64 for Linux, macOS, and Windows, using proper configuration in CMakeLists.txt.

@woodser
Copy link
Owner Author

woodser commented Feb 23, 2024

@niyid Completion of this task will support haveno-dex/haveno#783

@woodser woodser changed the title Support building static library with dynamic library wrapper Support building static libraries with dynamic library wrappers Feb 25, 2024
@woodser woodser added the 💰bounty There is a bounty on this issue label Feb 25, 2024
@woodser woodser changed the title Support building static libraries with dynamic library wrappers Support building static libraries with dynamic library wrappers [1 XMR] Feb 25, 2024
Copy link

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.

@woodser woodser closed this as completed Mar 2, 2024
@woodser woodser reopened this Apr 2, 2024
@woodser woodser changed the title Support building static libraries with dynamic library wrappers [1 XMR] Support building static libraries with dynamic library wrappers [2 XMR] Apr 2, 2024
@woodser woodser changed the title Support building static libraries with dynamic library wrappers [2 XMR] Support building static libraries with shared library wrapper [2 XMR] Apr 2, 2024
nsec1 added a commit to nsec1/monero-java that referenced this issue Jun 26, 2024
@woodser woodser changed the title Support building static libraries with shared library wrapper [2 XMR] Support building static libraries with shared library wrapper [3 XMR] Jun 27, 2024
nsec1 added a commit to nsec1/monero-cpp that referenced this issue Jun 27, 2024
nsec1 added a commit to nsec1/monero-java that referenced this issue Jun 27, 2024
nsec1 added a commit to nsec1/monero-java that referenced this issue Jul 17, 2024
…let on ubuntu 20, 22 and debian 12)

- using openssl and unbound static libs
- using boost (1.71.0) as module and building it static with -fPIC

Ref. woodser#74 haveno-dex/haveno#795
@woodser woodser changed the title Support building static libraries with shared library wrapper [3 XMR] Support building static libraries with shared library wrapper [4 XMR] Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💰bounty There is a bounty on this issue
Projects
None yet
Development

No branches or pull requests

1 participant