I am using the Rust programming language with OpenCV.
I have installed Rust and I have downloaded the latest version 4.5.1. So I did download it and I did try to set it up in my system environment paths. I have setted up in this manner as according to this instruction
I would guess that you need to add the opencv_world451.dll to the system/user path. You can do this through the gui shown in the link from your original post by adding the path to opencv_world451.dll to the path variable (probably something like C:\Users…\opencv\build\x64\vc15\bin). Note: if you add to the system path you may need to reboot your system in order to see the change. If you add to the user path then you will simply need to re-open the application/cmd etc. which you are building from.
Alternatively you can launch the command prompt and enter set "path=C:\Users\<ACTUAL_PATH>\opencv\build\x64\vc15\bin\;%path%"
and then launch your application from there.
Another person also told me to add libopencv.dll to my path but this file doesn’t seem to exist, is this supposed to be included inside the download folder?
If you were using C++ you would need to add the path to the folder containing opencv_world451.dll to the system or user path or run your application from the directory containing it. In your case opencv_world451.dll should be located
opencv\build\x64\vc15\bin\opencv_world451.dll
therefore you would need to add
opencv\build\x64\vc15\bin\
to your system or user path.
Are you saying it isn’t there or are you looking for libopencv.dll?
I am not familiar with Rust. It may have an internal variable like python which stores paths to dll’s which you may need to add to instead. But I would try adding to the system or user path first as this is a quick and easy to do.