How to download and install MinGW -w64 compiler on Windows 10/11

  Рет қаралды 86

target up e Study

target up e Study

6 ай бұрын

How to download and install MinGW -w64 compiler on Windows 10/11
Download the MinGW-w64 Compiler
1. Go to the sourceforge.net/projects/mingw We land on the following page.
2. After that, click on the Download button, then it starts the downloading of the MinGW GCC compiler.
3. MinGW software has been successfully downloaded into the system.
4. Now we double-click on the MinGW set up to install the compiler.
5. Click on the Install
6. Set it defaults, or we can change the storage location of the setup. After that, click on the Continue
7. After clicking the continue button, it shows step 2 of MinGW Installation Manager.
8. As we click on the Continue, it shows the below image. In the MinGW Installation Manager, we need to check the Mingw32-base package and Ming32-gcc-g++ package to run and compile the C/ C++ program in the visual studio code editor.
9. After selecting the checkbox, click on the Installation tab at the top left corner of the dialog box.
Here we click on Apply Changes to set the package's installation in MinGW, as given below.
10. After click on the Apply button
11. After downloading the packages, it shows the installation process of the package
Here we can see all the changes have been successfully applied and then click on the Close button
Set the Environment Path for the MinGW Set Up
After downloading and installing the MinGW compiler, we now set the environment path to include the C/C++ compiler directory.
1. Go to the installation directory of the MinGW Set Up. Here we installed the setup at the C drive
2. Double click on the MinGW folder
3. After that, click on the bin folder and then copy the directory path
Here is the path of the MinGW folder path: C:\MinGW\bin
4. After copying the directory path, go to This PC Right Click on This PC Select/ Click on the Properties.
5. After that, click on the Advanced system settings to display a popup box of System Properties
6. Click on the Environment Variables to set the directory path
First, we have to click on the System Variables Path and then click on the Edit button
7. As we click on the Edit button, it shows a popup window to set a new path
we click on the New button and then paste the C:\MinGW\bin path; after that, click the OK button.
8. Similarly, click the OK button to the Environment Variables and System Properties.
9. If we want to check that the MinGW has been successfully installed in the system: go to the Command Prompt or cmd, write the gcc -version, and press the Enter
#mingw-w64compiler

Пікірлер
How to Install Visual Studio Code on Windows #vscode
2:37
target up e Study
Рет қаралды 55
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 36 МЛН
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 17 МЛН
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 20 МЛН
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 8 МЛН
How NVIDIA just beat every other tech company
9:20
Mrwhosetheboss
Рет қаралды 1,3 МЛН
Crowdstruck (Windows Outage) - Computerphile
14:42
Computerphile
Рет қаралды 113 М.
How to Write ,Compile and Run Java Program using Notepad and Command Prompt
4:24
How Could ANYONE Spend $4000 on a SOUNDBAR??
11:40
Linus Tech Tips
Рет қаралды 866 М.
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 36 МЛН