On Nov 19, 3:44 pm, Seth wrote:
> unfortunately doesnt work. The library loads succesfully but i still
> get the error when calling add. Note that compiling on the top is a
> workaround to get it working on the repl.
>
> i added the loadlibrary to an init function which is good and i
> decided to
unfortunately doesnt work. The library loads succesfully but i still
get the error when calling add. Note that compiling on the top is a
workaround to get it working on the repl.
i added the loadlibrary to an init function which is good and i
decided to ahead of time compile it - and it worked! I
.path from the command line use the parameter -
Djava.library.path='your stuff here'. To set it from Clojure code:
(System/setProperty "java.library.path" "your stuff here")
/Markus
On Nov 4, 11:42 pm, Seth wrote:
> Ive recently had troubles using swig in clojure ge
Ive recently had troubles using swig in clojure getting a 'unsatisfied
link exception' even though using the swig generated library worked in
regular java code. I believe there was a post on this somewhere in
these google groups.
Anyways, I have figured out that if I place the following