Running without copying generated ONNX DLLs fails on Windows
radu-matei opened this issue · comments
Radu Matei commented
Radu Matei commented
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).