Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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)

like image 838
Ben Gubler Avatar asked May 18 '18 09:05

Ben Gubler


1 Answers

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!

like image 149
Ben Gubler Avatar answered Oct 01 '22 06:10

Ben Gubler