-1

I am building a Rust application that uses the iui crate.

When I click the executable after doing cargo build, I get an error saying that the DLL isn't in the path. I did put the DLL in the path to see if it worked and it did but it opened a command window with the GUI which it doesn't do that when I run cargo run.

I don't know a lot about how Rust builds executables and I don't know where Rust keeps the dependencies so I would like to know how I can get all my dependencies in a single path. Having something that can grab all the dependencies for me would be nice because the dependency has other dependencies that I probably need to add and I really don't know what they are.

I plan on making an installer for my Rust application and I will need all of the dependencies for it to work.

Shepmaster
  • 388,571
  • 95
  • 1,107
  • 1,366
user212889
  • 25
  • 1
  • 3

1 Answers1

0

It's not specific to Rust. For Windows, you'll find the tools in this answer: How do I find out which dlls an executable will load?

Kornel
  • 97,764
  • 37
  • 219
  • 309