- Install rust
- Install OpenCV (https://github.com/twistedfall/opencv-rust/blob/master/INSTALL.md)
- Windows
- Install vcpkg https://learn.microsoft.com/de-de/vcpkg/get_started/get-started?pivots=shell-powershell
- Create a new, empty folder anywhere on your system
- Inside that new folder, in Windows Explorer, hold
SHIFTand click theRight Mouse Button - Click on the
TerminalorConsoleentry (depending on Windows Version and Language, the naming might be different) - Run
git clone https://github.com/microsoft/vcpkg.git . - Run
.bootstrap-vcpkg.bat - Run
SystemPropertiesAdvanced.exe - In the newly created window, click on the last button displayed (
Environment variables) - In the newly created window, Select the
Pathvariable of either your user (top) or your system (bottom) - Click
Modify - Copy the path of your vcpkg installation by right clicking the path
- In the modify environment variables window, click new and paste (
CTRL + V) the path in - Click OK
- Click OK
- Click OK
- Close any windows you have opened during this process
- Install OpenCV using VCPKG
- Install Visual Studio Community https://visualstudio.microsoft.com/downloads/
- Install the default setup
- Close any windows that may have opened
- Using the start menu, open the
Visual Studio Installer - Click the
Changebutton (top one, out of the fourChangeStartMoreandUpdate) - Select the second tab (
Individual Components) - Next one is a little bit tricky:
- In the search column, search for
MSVCand find the ticket entry (Should look likeMSVC v143 - VS 2022 C++-x64/x86...) - Write down or remember that
v143part (you might have a newer version) - Now search for
ATL v143(replace thev143part with your version number) - Go through the list and search for the entry that does not have a leading version (your
v143will be in all of them, but there are different version numbers too), noSpectreinside of it andx86andx64in it (one of the ones at the very bottom, most likely, on the list) and tick it - Confirm the change using the
Changebutton at the very bottom right corner of that window. - Confirm the admin prompt
- Wait until everything is installed.
- In the search column, search for
- Open the terminal by right clicking the windows logo in your task bar and selecting
TerminalorConsole(depending on Windows Version and Language, the naming might be different) - Run
vcpkg install llvm opencv4[contrib,nonfree]:x64-windows-static-md
- Add LLVM to
PATHvariable- See "Install vcpkg" for modifying environment variables
- In your vcpkg installation, find the path to
<your_vcpkg_path>/packages/llvm_x64-windows/ - Copy that path
- Create an entry for
<your_vcpkg_path>/packages/llvm_x64-windows/tools/llvm/ - Create an entry for
<your_vcpkg_path>/packages/llvm_x64-windows/bin/
- Install vcpkg https://learn.microsoft.com/de-de/vcpkg/get_started/get-started?pivots=shell-powershell
- Windows
- Run
cargo build --release
X39/steelsight
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|