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

windows 平台自定义 onnx runtime 路径错误 #1545

Closed
endink opened this issue Nov 16, 2024 · 0 comments · Fixed by #1546
Closed

windows 平台自定义 onnx runtime 路径错误 #1545

endink opened this issue Nov 16, 2024 · 0 comments · Fixed by #1546

Comments

@endink
Copy link
Contributor

endink commented Nov 16, 2024

DSHERPA_ONNX_USE_PRE_INSTALLED_ONNXRUNTIME_IF_AVAILABLEON , 同时指定如下环境变量:

  • SHERPA_ONNXRUNTIME_INCLUDE_DIR
  • SHERPA_ONNXRUNTIME_LIB_DIR

onnxruntime.cmake 文件 153 行是否应该判断一下 MSVC 使用 .lib 而不是 .a

现在报错:location_onnxruntime_header_dir: location_onnxruntime_header_dir-NOTFOUND

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

Successfully merging a pull request may close this issue.

1 participant