Skip to content
New issue

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

Win build issure #1

Open
arnoliudaxia opened this issue Sep 20, 2024 · 1 comment
Open

Win build issure #1

arnoliudaxia opened this issue Sep 20, 2024 · 1 comment

Comments

@arnoliudaxia
Copy link

win打开二进制程序的时候报错

The given version [14] is not supported, only version 1 to 10 is supported in this build.
thread 'main' panicked at C:\Users\runneradmin\.cargo\git\checkouts\onnxruntime-rs-6a272c20db5f1ac0\7d9eeed\onnxruntime\src\lib.rs:203:5:
assertion `left != right` failed: Can not get ort api ptr.
  left: 0x0
 right: 0x0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

推测rust在win上build(或者交叉编译)的时候没处理好,(由于我不懂rust只好求助一下)

@wenxuanjun
Copy link
Collaborator

我测试0.4.2版能正常在Windows 11 x86_64 Build 27695上运行。

image

你的测试环境是什么样的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants