mac 11.7.10不支持
zsf513 opened this issue · comments
Exception in thread "main" java.lang.UnsatisfiedLinkError: /private/var/folders/b5/ns76dt9d0j96tz0v5rzcg9vm0000gn/T/ocrJava/onnx/libRapidOcr.dylib: dlopen(/private/var/folders/b5/ns76dt9d0j96tz0v5rzcg9vm0000gn/T/ocrJava/onnx/libRapidOcr.dylib, 1): Symbol not found: __ZNSt3__113basic_filebufIcNS_11char_traitsIcEEEC1Ev
Referenced from: /private/var/folders/b5/ns76dt9d0j96tz0v5rzcg9vm0000gn/T/ocrJava/onnx/libRapidOcr.dylib (which was built for Mac OS X 12.6)
Expected in: /usr/lib/libc++.1.dylib
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at io.github.mymonstercat.JarFileUtil.copyFileFromJar(JarFileUtil.java:68)
at io.github.mymonstercat.OnnxMacX8664LibraryLoader.loadLibrary(OnnxMacX8664LibraryLoader.java:14)
at io.github.mymonstercat.ocr.InferenceEngine.loadFileIfNeeded(InferenceEngine.java:78)
at io.github.mymonstercat.ocr.InferenceEngine.runOcr(InferenceEngine.java:55)
at io.github.mymonstercat.ocr.InferenceEngine.runOcr(InferenceEngine.java:50)
mac 11.7.10,intel处理器不支持。可否做到更低版本的os兼容?
已编译好库文件。建议可以通过配置指定库文件的位置,如果未指定则使用jar包中默认的库。
已编译好库文件。建议可以通过配置指定库文件的位置,如果未指定则使用jar包中默认的库。
感谢反馈,这个有时间会加一下。
希望提供下mac编译通过的opencv、onnxruntime版本
希望提供下mac编译通过的opencv、onnxruntime版本
https://github.com/RapidAI/RapidOcrOnnx/releases/download/1.2.2/Project_RapidOcrOnnx-1.2.2.7z