We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OcrLiteNcnnJvm包,用了你们提供的编译好的jni库,和自己编译的jni库,都崩溃。 调试发现是执行到initmodel地方崩溃的,我给try,catch了都不行,还是崩溃
The text was updated successfully, but these errors were encountered:
先排除是不是dll的问题。 https://github.com/benjaminwan/OcrLiteNcnnJvm/releases/tag/1.6.0 下载 OcrLiteNcnnJvm-v1.7.0.7z 用run-test-java脚本跑一下,如果能正常输出,那运行环境就没问题,如果这步已经不行,那就是dll不支持此系统。
之后再把可以用的dll,复制到你自己的项目目录下,配置好path。
Sorry, something went wrong.
感谢回复。 通过run-test-java是能成功运行的 但是就是不知道为什么,我自己编译的,和你们gitee上提供的jni库,就是崩溃。 我今天在研究下。 再次感谢
我测试发现,打包成jar后,能正常运行。但是在idea里边,调试运行就崩溃,我的jdk是1.8.0_131, 我反复看了好几遍cpp项目和jvm项目readme文件,Vulkan我原本安装的最新版本,后来也替换成了readme中的1.2.162.0版本 我确定我编译环境什么的都正常(C++也能编译通过,idea打包成jar也能成功运行,idea的edit config也配置正确),不知道什么原因。
可能是调试运行传入参数、路径之类的拼写错误导致的问题。
No branches or pull requests
OcrLiteNcnnJvm包,用了你们提供的编译好的jni库,和自己编译的jni库,都崩溃。
调试发现是执行到initmodel地方崩溃的,我给try,catch了都不行,还是崩溃
The text was updated successfully, but these errors were encountered: