Can't load IA 32-bit .dll on a AMD 64-bit platform

后端 未结 14 2303
逝去的感伤
逝去的感伤 2020-12-24 05:20

I am trying to use SVMLight from Java, using the JNI wrapper on this page:

  static {
    System.loadLibrary(\"lib/JNI_SVM-light-6.01/lib/svmlight\");
  }
         


        
14条回答
  •  情书的邮戳
    2020-12-24 05:26

    I had an issue related to this and was reading

    "Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\opencv\build\java\x86\opencv_java2413.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform "
    

    and it took me an entire night to figure out.

    I solved my problem by copying the dll in C:\opencv\build\java\x64 to my system32 folder. I hope this will be of help to someone.

提交回复
热议问题