Ben Gubler
Ben Gubler

Reputation: 1441

Rust can't find Microsoft C++ build tools

I'm a beginner who's just barely started learning Rust online, and I want to now use Rust on my computer. I installed the Rust installer, ran it, and it output this message:

Rust requires the Microsoft C++ build tools for Visual Studio 2013 or later,
but they don't seem to be installed.

I installed the Microsoft C++ 2017 build tools and restarted my computer, but it still outputs this error. From looking on Github, I understand that a lot of people have this issue, but the comments are full of technical jargon that I don't understand.

How can I set Rust up so it works? (Explained so that a beginner can understand)

Upvotes: 9

Views: 4796

Answers (1)

Ben Gubler
Ben Gubler

Reputation: 1441

I found the answer! Turns out I was installing 'Microsoft Visual C++ Redistributable for Visual Studio 2017' instead of 'Build Tools for Visual Studio 2017'. Funny how a simple error can cause a lot of headache!

Upvotes: 7

Related Questions