I am getting this error when trying to compile a Rocket project on Windows10. It was okay at first, doing very basic stuff, but when I try to add database connectivity, it fails with this error:
error: linking with
link.exe failed: exit code: 1181
I have found notes about other people who have this issue, and have tried a few things to resolve. I have Visual Studio 2019 Community Edition and the Visual C++ Tools are installed, and can see link.exe in:
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX64\x86
I have tried re-installing Rust. Originally I used 64-bit version, I am now on the 32-bit version.
I have next to no knowledge of Rust, so would appreciate any help.