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

Not work in Windows platform #20

Open
HoaLeMinh opened this issue May 13, 2024 · 0 comments
Open

Not work in Windows platform #20

HoaLeMinh opened this issue May 13, 2024 · 0 comments

Comments

@HoaLeMinh
Copy link

Execute: OrtEnv.instance.init();

The error message:
Invalid argument(s): Failed to lookup symbol 'OrtGetApiBase': The specified procedure could not be found. (error code: 127)

The log:
dart:ffi DynamicLibrary.lookup
package:onnxruntime/src/bindings/onnxruntime_bindings_generated.dart 38:70 OnnxRuntimeBindings._OrtGetApiBasePtr
package:onnxruntime/src/bindings/onnxruntime_bindings_generated.dart OnnxRuntimeBindings._OrtGetApiBasePtr
package:onnxruntime/src/bindings/onnxruntime_bindings_generated.dart 41:7 OnnxRuntimeBindings._OrtGetApiBase
package:onnxruntime/src/bindings/onnxruntime_bindings_generated.dart OnnxRuntimeBindings.OrtGetApiBase
package:onnxruntime/src/bindings/onnxruntime_bindings_generated.dart 34:12 OnnxRuntimeBindings.OrtGetApiBase
package:onnxruntime/src/ort_env.dart 22:37 new OrtEnv.

package:onnxruntime/src/ort_env.dart 11:42 OrtEnv._instance
package:onnxruntime/src/ort_env.dart OrtEnv._instance
package:onnxruntime/src/ort_env.dart 13:33 OrtEnv.instance

Do I have to make some extra setup for Windows platform to make it work?

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

1 participant