c++ - Error when loading native library in scala -
c++ - Error when loading native library in scala -
i build c++ hello.dll library utilize in scala.
when load system.loadlibrary("hello"), appear exception:
java.lang.unsatisfiedlinkerror: c:\users\ducnm4\desktop\mdb_scala\hello.dll: can't find dependent libraries.
the path point hello.dll right don't know why it's happen ?
you have dll dll depends upon, , not found in path.
often other dll msvc runtime (named msvcr*.dll). utilize dependency walker figure out dependencies missing. find them , re-create them folder dll lives.
c++ scala jni
Comments
Post a Comment