pedeps icon indicating copy to clipboard operation
pedeps copied to clipboard

report error(such as dependency dll can't be found) in the dry run mode?

Open asmwarrior opened this issue 1 year ago • 1 comments

Hi, when I run the command:

F:\code\codeblocks64-abc\lib\codeblocks\plugins>..\..\..\bin\copypedeps.exe -r -d -v libhelp_plugin.dll ..\..\..\bin

I got the result like below:

libhelp_plugin.dll -> ..\..\..\bin\libhelp_plugin.dll

This means libhelp_plugin.dll will be copied to the destination folder.

But in-fact, the dependency dlls of this libhelp_plugin.dll are not found in the PATH, so I think we need to find a way to report the missing dll errors?

Thanks.

asmwarrior avatar Sep 15 '24 07:09 asmwarrior

Good point. It should at least be properly documented that copypedeps looks in the PATH to determine what to copy, and there should be proper errors.

The intial goal was to have pedeps as a library and maybe the accompanying utilities were written a bit too simple.

brechtsanders avatar Sep 15 '24 08:09 brechtsanders