deislabs / wasi-nn-onnx

Experimental ONNX implementation for WASI NN.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running without copying generated ONNX DLLs fails on Windows

radu-matei opened this issue · comments

Copying the generated .dll and .lib files into the same directory as the executable solves the issue:

cp .\target\release\build\onnxruntime-sys-3443458ce0178a37\out\onnxruntime\onnxruntime-win-x64-1.6.0\lib\* .\target\release\

Keeping this issue open until we either automatically copy the libraries, or document how to set the path (I suspect adding the directory that contains the DLLs to the path could solve this issue).