


Although my distro was based on for many years, I now consider mingw-w64 to be the one true MinGW.) (It's a long story, but mingw-w64 forked from. MinGW's official website provides various builds, but I maintain my own distro because I demand complete control. It produces standalone Windows executables which may be distributed in any manner. It is free of charge and simple to use (well, as simple as toolchains ever get). Using two compilers that conform closely to the Standard subjects your code to more strenuous trials than using a single compiler would. I recommend that anyone who is learning Standard C++ and who uses Windows for a primary development environment should use two compilers: the most modern version of Microsoft Visual C++ and the most modern version of GCC, the GNU Compiler Collection.

Unlike everything else, I obtained these executables from their official websites instead of building them myself. Utilities (Binary): More programs used by programmers.Utilities: Programs used by programmers.Essentials: The components of MinGW itself.The components of this distro fall into four categories: My build scripts are available on GitHub, and they're also stored within the distro itself. (49.3 MB) : This is smaller, if you've already installed git. It's incredibly easy to install see How To Install below. Mingw-18.0.exe (96.9 MB) : This is a self-extracting archive. X64 Native Tools Command Prompt for VS2017Ĭlick on it, it will open a command prompt, run your command again inside this command prompt not in regular windows command prompt.My MinGW distribution ("distro") is 圆4-native and currently contains GCC 11.2.0 and Boost 1.77.0. it might take more than 8 GB on your desk, then restart your system.Ģ: Add path in Environment Variables to your VC that will be: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VCģ: Also add path to: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\6 with variable name: So i google it visit many forums and tried everything, from reinstalling VC++ tools for VS2015 many times and restart my system many times, set paths in environment variables.ġ: Install VC++ build tools from build-tools-for- visual-studio-2017, once you run the setup, check onlyĪnd select all important optional check boxes on the right side. I was also trying to setup YOLO and was trying for a complete one day to solve the VC++ error message. Maybe I am too late to share a solution here but it might help someone in the future.
