Closed kwek20 closed 5 years ago
Ah got it, i probably missed a documentation somewhere:
<configuration>
<c>
<includePaths>
<includePath>/path/to/include</includePath>
</includePaths>
</c>
<!-- Not needed for linking but might as well! -->
<linker>
<libs>
<lib>
<name>mam</name>
<type>shared</type>
<directory>/path/to/lib/directory</directory>
</lib>
</libs>
</linker>
</configuration>
Hi @ctrueden ! Im trying to use an external library someone is making (using bazel) I get the nar to generate, connect to the jni c class, but the import is always giving me the following error:
I have tried many things across most sites, but i feel like im missing something. Could really find more documentation on your site: https://maven-nar.github.io/configuration.html i thought
linkerLibs
orlibsName
could be used, but nothing happened.Im using Maven and Eclipse on Linux 18.04 Any help would be appreciated!
Here is the source code of the project: https://github.com/kwek20/iota-java/tree/mam-v2/mam