I installed Visual Code 2019 and then its rust component. Afterward I rustc hello.rs and got link.exe not found error. Then I saw a post saying needing to install Windows SDK. So I installed Windows SDK (latest version, but My OS is Windows 10 Home) Now I still get the link.exe not found error when I rustc hello.rs. How can I fix this problem? PATH issue?....
Please help.
In the Windows Visual Studio Installer, make sure you tick the "Desktop Development with C++" workload. As of Visual Studio 2022, this should install everything you need.
I rebooted Windows. I installed Visual CPP Build Tools. I am not sure I installed Visual Studio because it is not in the instructions I read. I will check on that.