UnsatisfiedLinkError: no opencv_java249 in java.library.path

后端 未结 9 1478
旧巷少年郎
旧巷少年郎 2020-11-27 05:38

Running into some problems making a piece of code run on my mac. Had someone write me an image analysis java app but I keep getting this error when trying to run it on netbe

9条回答
  •  情深已故
    2020-11-27 06:15

    You cannot just put Windows library (dll file) on Mac and have it running - you need to compile the library for Mac first (or get Mac version of the library).

    Please see here for tips on how to do it:

    .dll Equivalent on Mac OS X

    How do third-party libraries work in Objective-C and Xcode?

    How to use a Windows DLL with Java in Mac OS X?

提交回复
热议问题