How to Install MinGW (MSYS2) and Run C, C++ program in Microsoft Visual Studio( VS Code)|Ada Code|
ฝัง
- เผยแพร่เมื่อ 27 ม.ค. 2025
- In this video, I will show you How to Install MinGW (MSYS2) and Run C, C++ programs in Windows 11, Windows 10, Windows 7.
Even If I am performing this video in Windows 11 System, the same process and files are required in any other Windows Operating System.
Hope the video is Helpful
And If it is Do Like, Share and Subscribe My Channel "Ada Code".
Ada Code Channel Link:-
www.youtube.co....
Prerequisite Video:-
Install and configure Microsoft Visual Studio Code (VS Code)
• Install and configure ...
Download Link:-
Microsoft Visual Studio Code
code.visualstu...
MinGW official download page
www.mingw-w64....
MSYS2 MinGW Download Link
www.msys2.org/
*Initial Commands
pacman -Syu
pacman -Su
*Commands for installation of gcc & gdb
pacman -Ss gcc
For 32 bit: mingw-w64-i686-gcc
For 64 bit: mingw-w64-x86_64-gcc
pacman -Ss gdb
For 32 bit: mingw-w64-i686-gdb
For 64 bit: /mingw-w64-x86_64-gdb
*Commands for Version Check of gcc, g++ & gdb
gcc --version
g++ --version
gdb --version
Other helpful Videos:-
How to Install JDK File and Run JAVA program in Microsoft Visual Studio( VS Code)
How to Install and Configure JDBC with MySQL also Create Database in VS Code
• How to Install and Con...
Ada Code is a channel where I put such content which at my academic time I thought was difficult to find on TH-cam and if found it was difficult to understand.
At Ada Code, I provide all the necessary resources such as Source Code's, Website link's from which you can Download Software's and File's, etc.
Here, I try to provide all the commonly in Portion Practical Topics given to Computer Science Academic Students.
Also, If anyone wants any of their practical code's Done
"Feel Free and write it in the Comment Section of any Video"
I'll surely make a Video on it.
Can't tell how thankful I'm for this tutorial. Even the official website of msys2 was full of nonsense in installation steps but this tutorial saved the day!!!
Oh my God, you are such a wonderful teacher, thank you so much! I literally spent an entire evening trying to add C++ on vs code, tried many tutorials and blog posts as well, and to be honest, nothing worked. I got frustrated and give a break, after some hours I just came back and followed your tutorial, and voulà it is running as magic hahaha! Thank you once again!
Qaà
Qaà
Yeah, same here. This was the best tutorial out there. I tried 4 or 5 of them. Excellent job!!!
To honest i was mad about the error since 12 hours and after watching your video and followed step by step instructions now i am happy
I've been up the past night installing MSYS2 and Visual Studio Code trying to get the paths for GCC and G++ configured on windows 11 its been a nightmare. So I come across your video tonight . And in less then 10 minutes of your video all my problems where solved. Your such a Great Teacher thanks so much.
I been through the same problem around 4 hours approximately but i think it is the solution
Your video was clear and easy to follow. When I downloaded the msys2 though i noticed there were some things different, and so the g++ stuff were still not working despite following every step. Thanks still though, your clear step-by-step tutorial calmed me from the hazy instructions my teacher gave.
very very thank you
I couldn't find a proper guide for mingw 64bit and always the bin folder is empty but this time i saw your video and you provided different steps 😁 now my code is executing in an instant 😊 i troubleshooted for more than a week 😅 again very very thanks for the guide
Glad I could help
Thanks you very much 🥺😭 . I have been struggling for 3 days. You solved my problem. Thankyou 😭😭😭
Thanyou so much , i was failed to set up it and switched to dev c++, but hey gorgeous its working now...thanks a lot
I try with help of another video 50 times but not happen
Then i saw ur video then itz done in one time superbb
realy only this video helped me ......
i was trying from last 4 days
there is half knowlegeble video on youtube
keep it up
You helped me solve the exact problem I had !! Thank you so much!!
Great to hear!
fially it works , mingw was showing continuous error to download g++ file now after downloading msys2 it works thank u very much
thank you your video is very helpful for me i watch many video for this of other youtubers but i could not find any video like this
keep up 👍👍
Best video Ever:)
Very helpful I got video when i am stucked and it really help me alot, thanks
Thank You Soooo....Much Dear Really Very Very Helpful 💞💯❤
Very very infity times thank you ma'am ❤ it works after watching so many videos and I got perfect place where it solved 💯🙌
Thank you it was really helpful...
Keep Rocking....
I love you my sister, the video that you shared to us is helpful, thanks sister!
Thank you so much ,your step by step explanations are very clear and easy to follow.
Keep the good work !
Tried many but this was the best !
Thank you so much you explain it very nice and in simple way it helps me alot thank you
Thanks a lot mam. You help me through this video 🙌
Very useful video . Thanks for this video . I have successfully installed c compiler . Keep it up 👍👍
Glad it helped
Thank you very much for I have been struggling with this problem for a long time and your video helps so much!
Thank you, this was more than helpful 😁😁😁😁
Thank you so much. It worked for me
awesome mam all your steps works and its compiling.
great job awesome
You will defenately grow if you l3arn about voice cancellations of chirping bird,nice explanation
You should include some dialogues to run command again
It's my advice to run the command 2 to 3 times before moving to next command.
This video is completely authentic,don't hasitate to uninstall the whole files,if it is not working, in the worst cases also this nethod works and I am the living evidence.
Looooved the tutorial , Perfectiiiion !!!!! 👌🏻👌🏻👌🏻👌🏻👌🏻
precise configuration has been made, thumbs up!
works, keep up the good work man
I was trying for a long time to code C++ in VS code but saw no video but got no help well i watched your video and followed it step by step and finally my code was run and all the doubts are also cleared 0_0 Thank You so much :)
you should have used visual studio community because it comes with a compiler
Thanks Ada Code.
Work on my case big thanks 🥰
The Best Tutorial Thanks A Lot 🙏😎
This video helped me a lot. From last one week i was not able to configure the debugging issue in vs code for c. This video is 🔥🔥
thanks yrr is helpful for me.....😉😉
Very very useful video mam, thank you so much❤😊😊😊😊
Hey it was really helpful.. thnk
Wonderful explanation. Thank you so much for your help
Veryhelpful video 💯💯,thank u so much🙏🙏🙏
g++ : The term 'g++' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ g++ .\data1.cpp
+ ~~~
+ CategoryInfo : ObjectNotFound: (g++:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
???
11:46
Ada code you are awesome thank you
Thank you so much😍😍😍😍
thanks, best video
Thank you, this video help me a lot... !!👋👋👋
Thank you very much from Egypt
You are GREAT!!! 💥💥💥
Thanks for it . It's Helpful
Thank you for helping me
i very very thank youuuu
You're a visual studio magician!
Thank you Didi❤️🥰
Thank's a lot it's really really help me 👍
Спасибо большое, Ада, очень помогла. Всё чётко и понятно, даже странно, что у тебя так мало подписчиков.
Я рад слышать, что это помогло вам.
@@adacode9996 I studied java and python languages, but in my institute needs c++. I didn't think that the installation would cause so many problems.
Thank you .. please make more videos ...
this was very helpfulll thank you ☺☺
thanks for your help :)
thanks buddy✌
Thank you so much
All the best for you
Loved
Thank you so much it helps me a lot
thanks! very helpfull
Thank you it helped alot.
Liked
Does Msys2/pacman (2013) replace MinGW (2005).. which seems replaced Cywin (1995), or would you use one over another for certain applications?
I know Docker containers and VMs are a little different.. but PowerShell and WSL2 also seem like a windows way of getting a linux-like terminal. Python's subprocess also seems like it can do everything you would want in a bash environment... or just installing Git , GnuWin32 or unxutils seems to get you the binaries for windows?
Good Work !!!! Thanks...
what a beautiful vioce you have😊😊😊😊
wonderful saves a lot of time
Thank you girl. 🙏🏻
U saved us
Thanks mam
thank you, dear 😘
heyyy!! i successfully installed g++ , gcc and gdb but in cmd its showing no internal and external command.... what should I do?
thank you so much. what a calm and cool way of instructions.
Thanks ma'am
How to enable strict compile?
unused variables throws error () ?
when i enter the cmnd " gdb -- version " it says not found? help-
around 12:00 , it seems that the problem was not that you required coderunner , but that you did not use the .exe extension. I'm pretty sure it would run without using coderunner.
ogm tks you so much, i checked the web and nothing work but you have save me
🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏 thank mam bahut jyada wala
thanks so much man
thank you 🙏🙏🙏
When ia ma opening MSYS2 it's saying that your system is 32bit and it require 64bit
After typing .\a.exe : The term '.\a.exe' is not recognized as the name of a cmdlet , function , script file, or operable program. Check the spelling of the name , or if a path was included, verify that path is correct and try again.
What to do now ?
Try following steps carefully it will solve your problem.
Same problem with me...I tried again and again but can't find where I messed up...my gcc is installed correctly but in the settings when I search code runner I can't find those options that you had in the video...after typing ./a.exe I have the same issue 😫..it hurts😵
My gcc --version showing bash gcc command not found
Check once the path set in environment variables for the bin folder location
What do we have to check for??
When I run pacman -Su, it's showing there is nothing to do...Is this a problem..?
mam at 10:00 its still not showing the gdb
When I type code runner there is not much options available as in the video.. What to di
That step is optional
Check whether you have installed the code runner extension or not... If not first install it and then proceed as said.
gdb command not found its shows this what's th solution for it .
Thank you
Thnx buddy
Thank you somuch
thank you!
*Flawless tutorial*
After installing first package terminal is not showing up on the screen
Bin shows empty what I can do ? Guide me @ada code
Good information Thx
It says my intelligence mode windows-msvc-x64 is compatible with compiler path, what do I do?
Thankyou didi