Fix error The file has been downloaded incorrectly in Mingw-W64 | How to install Mingw-W64 correctly

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone in this video i will show you how to fix the following error the file has been downloaded and correctly so this error may occur when you try to install mingw64 and it means that you cannot download the required binaries so in this video i will show you how to fix this error and how to install mingw 64 using the archive so let's click on ok then let's go to the browser and here we have to type mingw64 let's press enter then let's scroll down and here we need to click on this link it is on sourceforge.net so in this page we should not click on this download button because it will download the source code but we have to click on files now let's scroll down and here we have the different versions of mingw so for the moment this is the latest version and we have different options so these four options are for 64-bit systems and these are for 32-bit systems in my case i have a 64-bit system so i will click on this link now we need to save this file but in my case i have already downloaded it so i will click on cancel so this is the downloaded file i need just to extract it and i will extract it on the c drive so i will remove all of this from the path now let's click on ok now we need to add mingw to the system environment variables so let's go to the folder where we extracted mingw it is on the c drive into the folder called mingw64 then let's open the bin folder and let's copy this path now let's go to the system environment variables then let's click on advanced system settings then environment variables then let's find the path variable so this is the path variable we need to edit it so at the beginning of this field i will paste the path to provide it with the highest priority also i need to add a semicolon as the separator between the different values now let's click on ok then ok ok again and let's close this window now to check that mingw is installed correctly i already created this folder which contains this c plus plus file so to build this c plus plus file we need to execute this command so let's open the command prompt from this folder so here i have to type cmd then here i will paste the command that allows me to build this c file let's press enter so this file has been created and to run it we can just write main let's press enter and here we have the output of the c plus file
Info
Channel: BoostMyTool
Views: 92,774
Rating: undefined out of 5
Keywords:
Id: FWC5fVk0QqE
Channel Id: undefined
Length: 3min 31sec (211 seconds)
Published: Sun Apr 03 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.