This commit is contained in:
nora 2023-01-09 14:59:45 +01:00
parent ac8486962d
commit 02dcaf07e7

View file

@ -10,9 +10,9 @@
`cargo build`
### Assemble shared library
### Copy shared library
Copy the shared library in `target/debug/librs_wrapper.so` (or a `.dll` on windows) to a known location like the working directory or the system wide library directory.
Copy the shared library in `target/debug/librs_wrapper.so` (or a `.dll` on windows) to the current working directory or the system wide library directory.
### Build the jar
@ -20,4 +20,4 @@ Use `./gradlew jar` or whatever you like I don't know.
### Run the program
Maybe it works now. If you get a link error you might need to set the `LD_LIBRARY_PATH` env var to the path of the shared library (on linux). Or you have to copy it to the systems library directory. Or something else. But it should work.
Maybe it works now. If you get a link error you might need to set the `LD_LIBRARY_PATH` env var to the path of the directory of the shared library (on linux). Or you have to copy it to the systems library directory. Or something else. But it should work.