You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I just built my first Rust tool that uses opencv. I'd like to distribute it to some friends but don't want them to get through the hassle of getting all the required .dll so your tool seems perfect to bundle the libraries with the .exe.
I installed copydeps via cargo install copydeps and tried to run copydeps absolute_path_to_my.exe.
I got the output :
copydeps: failed to resolve "MSVCP140.dll"
copydeps: failed to resolve "VCRUNTIME140.dll"
copydeps: failed to resolve "VCRUNTIME140_1.dll"
copydeps: failed to resolve "api-ms-win-crt-heap-l1-1-0.dll"
copydeps: failed to resolve "api-ms-win-crt-locale-l1-1-0.dll"
copydeps: failed to resolve "api-ms-win-crt-math-l1-1-0.dll"
copydeps: failed to resolve "api-ms-win-crt-runtime-l1-1-0.dll"
copydeps: failed to resolve "api-ms-win-crt-stdio-l1-1-0.dll"
copydeps: failed to resolve "api-ms-win-crt-string-l1-1-0.dll"
copydeps: failed to resolve "bcrypt.dll"
copydeps: failed to resolve "opencv_world470.dll"
when I use the dependency_runner crate with the command deprun path_to_my.exe I get the correct path to de dlls.
If i have to manually copy/paste paths to copydeps from deprun, it would be the same as copying them by hand. Do you have any idea of how to fix this issue?
The text was updated successfully, but these errors were encountered:
The simple truth is I've written this to be a Linux tool and never gave running under Windows any thought.
Adding support for running under Windows could be a nice feature, though. Thanks for mentioning dependency_runner - offloading the job of resolving files to another crate would make this a lot easier.
Hello,
I just built my first Rust tool that uses opencv. I'd like to distribute it to some friends but don't want them to get through the hassle of getting all the required .dll so your tool seems perfect to bundle the libraries with the .exe.
I installed copydeps via
cargo install copydeps
and tried to runcopydeps absolute_path_to_my.exe
.I got the output :
when I use the
dependency_runner
crate with the commanddeprun path_to_my.exe
I get the correct path to de dlls.If i have to manually copy/paste paths to copydeps from deprun, it would be the same as copying them by hand. Do you have any idea of how to fix this issue?
The text was updated successfully, but these errors were encountered: