JavaCV - Unsatisfied Link

ぐ巨炮叔叔 提交于 2019-12-25 05:06:09

问题


Now i realise that is will be something dumb/moronic on my part in not referenceing libraries etc, however i've been play with this for a couple of hours now and I can't seem to fix it. When i attempt to use any libraries from JavaCV i get this:

2012-05-22 23:29:27.214:
WARN:oejw.WebSocketConnectionRFC6455:java.lang.UnsatisfiedLinkError:
        /private/var/folders/lr/q3z8sl1x5_xcf1590495xh9r0000gn/T/libjniopencv_core4427354466625539453.dylib:
    Library not loaded: lib/libopencv_core.2.4.dylib
    Referenced from:
        /private/var/folders/lr/q3z8sl1x5_xcf1590495xh9r0000gn/T/libjniopencv_core4427354466625539453.dylib
    Reason: image not found for SCEP@2c31f2a7{
        l(/127.0.0.1:61948)<->r(/127.0.0.1:9999),d=true,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r
    }-{
        WebSocketServletConnectionRFC6455 p=WebSocketParserRFC6455@4d91f801 state=DATA buffer= g=WebSocketGeneratorRFC6455@2a313170 closed=false buffer=-1
    }
java.lang.UnsatisfiedLinkError:
        /private/var/folders/lr/q3z8sl1x5_xcf1590495xh9r0000gn/T/libjniopencv_core4427354466625539453.dylib:
    Library not loaded: lib/libopencv_core.2.4.dylib
    Referenced from:
        /private/var/folders/lr/q3z8sl1x5_xcf1590495xh9r0000gn/T/libjniopencv_core4427354466625539453.dylib
    Reason: image not found

I installed OpenCV using mac ports (following this guide: http://salemsayed.me/?p=240) and i can get Xcode to compile an example and generate the correct out, i just can't make my basic java app work...

Where should i be putting the dylib in question, or how should i reference it within eclipse?

来源:https://stackoverflow.com/questions/10711088/javacv-unsatisfied-link

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!