No video

How to Install MSYS2/Mingw-w64 and Run C/C++ files Using Visual Studio Code 2021

  Рет қаралды 207,902

BoostMyTool

BoostMyTool

Күн бұрын

How to download and install MSYS2/Mingw-w64. How to run C/C++ program using VS Code and MSYS2/Mingw-w64. How to set up vscode for C/C++ applications. .
***********************************
🔥 Complete Udemy Courses :
ASP.NET MVC Course : www.udemy.com/...
ASP.NET Course : www.udemy.com/...
ASP.NET Core Web API : www.udemy.com/...
React JS : www.udemy.com/...
⬇️ Free Document Proofreading ⬇️
► Grammarly : grammarly.go2c...

Пікірлер: 216
@griffinq8003
@griffinq8003 Жыл бұрын
I just wanted to say that you, sir, are a gentleman and scholar. Little did I know that the simple act of typing 'gcc' and then an executable file name on a windows command prompt would be one of the most difficult computer science challenges I have faced to date. I have spent hours on videos and articles trying to make it happen, but with no results other than me reflecting on my own poor life decisions leading me up to this point. I wish I had known ages ago that the ENTIRE answer was in this one 11:29 youtube video. After watching this, I can now type gcc from a windows command prompt, and the only thing I have to worry about is how many errors my shitty code will generate. What a simple and joyous worry to have! Thank you so much for this video!
@Ammara_urooj
@Ammara_urooj 5 ай бұрын
Please could you tell me about how you solve the problem because i am still facing the problem of compilation
@nts94
@nts94 Жыл бұрын
Years later and who would've known that I would be finding this video very essential. I salute you sir you are a life saver!!
@HydeFromT70s
@HydeFromT70s 7 ай бұрын
At least one person who doesn't copy others and show how to install the old 2013 version of MinGW.... xD
@kitten749
@kitten749 Жыл бұрын
I just want to thank you a lot for your efforts and well submitted information. Never have I seen such a good and obvious tutorial on this topic! I have been searching almost the whole Internet about solving this problem and have found nothing before your video. It is really useful nad understandable. I suppose, you have saved a lot of lives of those, who have been fighting with this problem for a lot, as me:) Go ahead!
@JemstoneGames
@JemstoneGames 6 ай бұрын
Thank you, thank you, thank you! You may have singlehandedly saved me from failing one of my college modules. If only lecturers could be so clear in their explanations as you.
@lazlo686
@lazlo686 2 жыл бұрын
For anyone doing this on a Windows 11 computer, DO NOT add the semi colon like how he does in the video. Windows 11 will automatically create one for you. Steps for the Path Part and onwards 1. Click Edit 2. Click New 3. Paste Path 4. Select that Path and click on Move up until the paths you want are in the right priority as stated in the video. 5. Install C/C++ on VS code 6. Install Code Runner
@memberarsyruna5721
@memberarsyruna5721 2 жыл бұрын
bro thanksss
@thejazzyfizzle99
@thejazzyfizzle99 2 жыл бұрын
thanks brother
@zhinon26
@zhinon26 Жыл бұрын
tnx
@felipecastillo7898
@felipecastillo7898 Жыл бұрын
thankss mate!
@syedsaifuddin1413
@syedsaifuddin1413 2 жыл бұрын
I don't understand why do people not hit the like button for something so helpful..
@theViceth
@theViceth 2 жыл бұрын
Going straight into my "tutorials that worked" playlist. Awesome and quick guide.
@rossli8621
@rossli8621 Жыл бұрын
This is one of the best illustration of installing and using MSYS2.
@ashotsimonyan7683
@ashotsimonyan7683 8 ай бұрын
Thanks man. You're the best in the world. Thanks for solving my problem.
@diwashmainali1885
@diwashmainali1885 2 жыл бұрын
I don't have enough words to express gratitude. Thank You
@BoostMyTool
@BoostMyTool 2 жыл бұрын
You're welcome
@swarnas2313
@swarnas2313 2 жыл бұрын
I have been trying to setup this for 3 hours. Your video saved me a lot. THANK YOU !!
@CodeX-hv1sf
@CodeX-hv1sf 7 ай бұрын
your video have been such great help every minute mistake's have been well addressed and solved with great simplicity in my case 1. I had installed msys2 but having issue incofiguring setting of env path . 2. I been using code runner for ages i didn't know that we can set the runner to run in terminal. thanks a lot
@boxy9312
@boxy9312 Жыл бұрын
I've passed an entiry day trying to make it work and I was about to give up .Thanks you so much, you saved me.
@alfonsomzrt
@alfonsomzrt 10 ай бұрын
Thanks sir, I just succeeded installed it correctly
@yoi8364
@yoi8364 Жыл бұрын
Thanks a lot for this informative video it really helped me in setting up the compiler for C. It had become such a headache, but thanks to your video it was easy and fast. Once again, Thanks a Lot!
@mewcat6063
@mewcat6063 Жыл бұрын
im gonna have to save this somewhere this is so good and easy to follow i love how an indian guy can make a better tutorial then the official microsoft one (wich dint work for me twice) like ive been folowing the microsoft one for an hour and it doesnt work and then this takes me like 15 minutes and it works indian guys on youtube realy are the smartest people on earth thank you for fixing my problem, kind random indian guy
@dhrubajyotighosh2303
@dhrubajyotighosh2303 Жыл бұрын
I think this channel is not indian
@ikytsu7822
@ikytsu7822 8 ай бұрын
just thanks you, i had some issues to install it but finally a understanble tutorial, i just want to thanks you. I suscribed tysm and good luck for the year :)
@Knee_Ghast
@Knee_Ghast 3 ай бұрын
6:02 OMG THANKS! I was recently having trouble in the terminal for not recognizing 'make'. i didnt know that i also have to add this since others didnt mention it.
@onlysolitary
@onlysolitary Жыл бұрын
After trying many tutorials, only this one works. Thank you.
@shashibhushansingh11
@shashibhushansingh11 2 жыл бұрын
finally, something really worked, after spending so many hours trying with other tutorials.
@kashishvarshney2225
@kashishvarshney2225 2 жыл бұрын
Thankyou sir I watched more than 10 videos but no one worked This video worked correctly..☺️
@ramesh-adhikari
@ramesh-adhikari 2 жыл бұрын
best installation guide . i was stuck downloading this , watching other video didn't helped me a bit but this is legit video.
@arbinmahato4589
@arbinmahato4589 2 жыл бұрын
Finally, the full installation is completed..Thank you so much sir for your kind help through this video
@yashpanse
@yashpanse Жыл бұрын
Why my bin folder is empty
@whereisdamn22
@whereisdamn22 5 ай бұрын
Hey bro, where you able to fix it?
@whereisdamn22
@whereisdamn22 5 ай бұрын
Please reply me
@semihsengul6895
@semihsengul6895 Жыл бұрын
although this video upladed in 2021, works for 2023 and windows 11 too. Thank you :)
@tahzib1451
@tahzib1451 2 жыл бұрын
its not showing me pacman syu...instead i have "You will probably want to install some tools like the mingw-w64 GCC to start compiling"
@alisaeed8628
@alisaeed8628 2 жыл бұрын
mine also if any solution found please help me
@shrujansanjaykharwadey8192
@shrujansanjaykharwadey8192 Жыл бұрын
Why did at the last step my msys2 terminal installed 15 package rather than downloading 125 as shown in his computer.
@multiplusion
@multiplusion 11 күн бұрын
Thank you so much, you saved my life I've been trying to find a solution for my problem, and you helped me with it thanks alot sir.
@mahralikhan2582
@mahralikhan2582 Жыл бұрын
my mingw64's bin folder is empty. Can't find a way out of this problem of missing headers
@Pleasjustletmefuckingfinshthis
@Pleasjustletmefuckingfinshthis 11 ай бұрын
had a similar problem look in the ucrt64 folder for bin, should be there couse they made some changes
@1..1..1..1H
@1..1..1..1H 8 ай бұрын
@@Pleasjustletmefuckingfinshthis Can I just copy-paste in bin?
@Pleasjustletmefuckingfinshthis
@Pleasjustletmefuckingfinshthis 8 ай бұрын
@@1..1..1..1H you can Just change the place that the launche.json File is being directed to, to the bin in the ucrt64 folder that should probably work
@shivafoods007
@shivafoods007 2 жыл бұрын
Great video, really amazing!! I wasted two days (prior) to setup MingW64 compiler. Thanks
@Ayush-bk8ll
@Ayush-bk8ll 2 жыл бұрын
Thanks for the great help Sir!! Concise, to the point, and a perfect tutorial... Thanks!! [[My Gratitude]]
@marcferia5438
@marcferia5438 2 жыл бұрын
Thank you, clear and concise. I appreciate
@akhilbisht798
@akhilbisht798 2 жыл бұрын
man this is the best tutorial i got in installing c and c++ thanku for this
@siddhantpathak9405
@siddhantpathak9405 2 жыл бұрын
The video was very useful !! Thank You for your efforts :)
@BoostMyTool
@BoostMyTool 2 жыл бұрын
You're welcome
@sniggychan9279
@sniggychan9279 5 ай бұрын
Nice and worked on windows 10 pro🎉🎉
@r.e.n.a.d.10
@r.e.n.a.d.10 2 жыл бұрын
thank you so much!!! i really needed this and your tutorial was so helpful!! TY!!
@amanaheen1286
@amanaheen1286 2 жыл бұрын
it was very helpful thank your very much for such professional video about installation of Mingw
@MadGenious
@MadGenious 5 ай бұрын
Can you please make a video on how to use OpenGL (GLEW, FreeFLUT, GLFW) with VS Code? Also, How do i install MinGW-w32 Packages?
@Adri_noseua
@Adri_noseua Жыл бұрын
fantastic video!!! this is the only video that helped me solve the problem!!! Thank you so much!
@karanmeshram14
@karanmeshram14 2 жыл бұрын
Thank you so much brother I was frustrated and finally got ur video
@nicholasf4914
@nicholasf4914 2 ай бұрын
Careful, when I compile anything using mingw from this, the linked program lights up like a christmas tree in virustotal (20+ detentions), I made a few other programs to test it to make sure it wasn't a false positive, however the results stayed the same.
@guidingtechbd
@guidingtechbd Жыл бұрын
Thanks for the enormous help sir 😃!! I owe you. 😊
@mychannel-ij3uf
@mychannel-ij3uf 8 ай бұрын
Thank you so much bro Helped a lot I was trying to run C program for like 3 days but errors arised after following this tutorial It finally worked. TYSM sub earned.
@yash1152
@yash1152 2 жыл бұрын
thankss a lot, yes, really very helpful video. the extensions ui etc in vscodium have understandably a slight difference to them, i faced a li'l bit of problem as i didnt know about it. but yeah, other than that, very useful video.
@prashant198607
@prashant198607 2 жыл бұрын
I m not able to install mingw and msys for vs studio
@quocanalexdjentertaiment99996
@quocanalexdjentertaiment99996 7 ай бұрын
Yeah video using c/++, i like this video,video amazing
@poornimamgpoornimamg3572
@poornimamgpoornimamg3572 2 жыл бұрын
Quick and easy go straight steps ... best one
@andreialionte3269
@andreialionte3269 Жыл бұрын
It works! Best mini tutorial thank you so much
@debajitnath8670
@debajitnath8670 2 жыл бұрын
This video is really helpful, thank you brother .
@user-ej6ze6gf1s
@user-ej6ze6gf1s 6 күн бұрын
Hello, I have a 64 bit computer but my code compiles in 32-bit. I did not use your video for installing Msys2. I used the video on visual studio code channel. please tell me what is missing ?
@nayeem1400
@nayeem1400 2 жыл бұрын
In my pc msys2 download but not opening what should i do?
@techadmiral5560
@techadmiral5560 8 ай бұрын
Try with mingw w64
@DeepakSingh-nh2qe
@DeepakSingh-nh2qe 2 жыл бұрын
Very amazing and truly helpful tutorial!! It is different from other tutorials present over there on youtube If somebody ask me about how to get started with compiler and IDE installation for C/C++, this video will be recommended ✌✌ "Your way of communicating is really nice and very friendly and hence engaging" Suggestion : "Well, your words were easily understandable and recognizable that you were throwing from your mouth during speaking, BUT, I would like to suggest you to put the subtitles also in your videos and also even in this one 😊. This will increase the productivity of your videos." Congo, you got a subscriber ❤
@BoostMyTool
@BoostMyTool 2 жыл бұрын
KZbin already generates subtitles automatically. I cannot make subtitles because this will increase the video processing time significantly. You can click on the 5th button from the right (subtitles) to enable the subtitles
@DeepakSingh-nh2qe
@DeepakSingh-nh2qe 2 жыл бұрын
@BoostMyTool sir, you're right But, to your information, I want to tell that, you can also add subtitles to your video. And, for Auto generated subtitles even, you have to go through the Settings. Also sir, I have tried that 5th button of subtitles, about which you wrote..... But it pops that you haven't turned subtitles on or there's no subtitles from the creator
@elitechampion6502
@elitechampion6502 2 жыл бұрын
@@BoostMyTool thank you soo much you saved my day.
@mewcat6063
@mewcat6063 Жыл бұрын
@@mdyeasinarafathuser it did the same for me, i think its if you tried installing it in the past before and dint fully uninstall it before folowing this
@heavenlypenguin6613
@heavenlypenguin6613 Жыл бұрын
Extremely helpful video! Thanks a lot!
@djskinztech
@djskinztech Жыл бұрын
Thank You! This works in 2023
@priyankavishwakarma5739
@priyankavishwakarma5739 Жыл бұрын
Thank uu soo much i tried this a lot of times but through your it's 👍 done.... 😁
@CodzSnj
@CodzSnj 2 жыл бұрын
THANK YOU SO MUCH!!!!!! This video saved my life
@EricAbroad
@EricAbroad 2 жыл бұрын
Hell yeah this tutorial rocks!
@mauriciorolon
@mauriciorolon 2 ай бұрын
Excelente amigo.. muchas gracias por tu video. Ahi solucione que no me andaba ningun programa en C en Visual Studio Code.
@parthpuranik3903
@parthpuranik3903 2 жыл бұрын
Simple and effective tutorial!
@Player-we3nq
@Player-we3nq 2 жыл бұрын
Thanks, this fix my problem. Appreciate it.
@cyber_atharvaa
@cyber_atharvaa 2 жыл бұрын
Thank You!🥰
@DavisTibbz
@DavisTibbz 11 ай бұрын
Another easier way to get started is to simply download TDM GCC.will automatically setup system PATH for you
@beautyqueen4513
@beautyqueen4513 2 жыл бұрын
It is necessary to install msys2
@hattan6775
@hattan6775 6 ай бұрын
I did everything, but when I open VSCode, this msg comes (Your Code installation appears to be corrupt. Please reinstall.). What should I do?
@parthibsarkar1483
@parthibsarkar1483 2 жыл бұрын
Extremely clear and concise pllease bring a tutorial on the error i am facing win32 not identified
@blockybfdi8876
@blockybfdi8876 4 ай бұрын
on the MSYS2 terminal it just takes too long and at the end it gives me an error
@MuhammadIsmail-lg3mp
@MuhammadIsmail-lg3mp 4 ай бұрын
when u entered the tool chain command at 4:20 u had 2 default enters meanwhile i only got one why is that??
@dinkesh_jain
@dinkesh_jain 2 жыл бұрын
Really helped a lot!! Thanks
@technicalm.t.b5251
@technicalm.t.b5251 2 жыл бұрын
Thanks for making this video ;)
@rajadey4072
@rajadey4072 2 жыл бұрын
This was helpful! Thank you very much sir!
@user-hy1se8js4u
@user-hy1se8js4u Жыл бұрын
thank u it was litrelaly a problem that you just solved
@chinmayoli4209
@chinmayoli4209 2 жыл бұрын
Thanks you kind sir its was easy to understand and install....
@bennguyen1313
@bennguyen1313 6 ай бұрын
I built a simple wxWidget application but want to use GTK and its editor for the Gui deign (Glade/Cambalache). However, not sure what I need to install.. Meson, MSYS2, GTKMM vs GTK4 vs GTK3 etc. For example, I have Visual Studio Community do I still need MSYS2 (pacman -S mingw-w64-x86_64-toolchain base-devel etc) ? or can I just unzip the GTK source and build using VS? Do I need gvsbuild (Visual Studio Project or Meson Project) ? Also for testing , do you recommend CppUTest, google test , catch2, doctest, ??
@jkmstev
@jkmstev Жыл бұрын
just like Einstein said "simple but not simpler!", best so far
@eagle3594
@eagle3594 2 жыл бұрын
This video's is realy very helpfull thankyou sir
@slimshady6242
@slimshady6242 Жыл бұрын
Thank you sir , thank you sooo much 🥰🥰🥰🥰
@xxlostsoulxx582
@xxlostsoulxx582 Жыл бұрын
Thank You.... Helped a lot🙏🏻🙏🏻
@xtrea-ms6512
@xtrea-ms6512 2 жыл бұрын
Thank you so much man!! May God makes you billionaire 💰❤❤❤
@FPChris
@FPChris 2 жыл бұрын
This runs the code in Windows Powershell not MSys2. If you try to use the GTK library it fail to compile.
@kesc23
@kesc23 2 жыл бұрын
this is very, very useful! thanks a lot
@emrecelik9245
@emrecelik9245 2 жыл бұрын
This was very helpful thank you
@max7w311
@max7w311 Жыл бұрын
I'm having issues and I'm up to 3 hours into it. 1.starting with running the gcc command in the installer for MSYS2 2. it didn't install any files in the \msys64\mingw64\bin 3.lastly says 'g++' is not recognized as an internal or external command, operable program or batch file. when I run the main.cpp file which is expected with issues 1-2. Any suggestions
@sharllmao5920
@sharllmao5920 Жыл бұрын
Same issue, any fix?
@ishaqalkhairi145
@ishaqalkhairi145 11 ай бұрын
thanks this really helped me
@robintheunleashed2025
@robintheunleashed2025 2 жыл бұрын
Pls anyone help me....at last when terminal is running it shows cannot open output file main.exe: permission denied Anyone know how to solve it
@sahildas1866
@sahildas1866 2 жыл бұрын
Thankyou so much, it's a great tutorial. [Arigato]
@vipteumeweebs1148
@vipteumeweebs1148 2 жыл бұрын
Thank you. Your video help me so much
@yash1152
@yash1152 2 жыл бұрын
2:49 wow, how was the window dimension shown there (in the left side)?? 8:01 how are u pasting that data?? i mean where did u copy that which allow u to paste sequentially?? i always wanted to do that 🤔
@yash1152
@yash1152 2 жыл бұрын
update: for the window dimension overlay: it is msys2 cmd dialog's inbuilt property
@BoostMyTool
@BoostMyTool 2 жыл бұрын
​@@yash1152 It looks like I paste sequentially because I cut the video during the instants when I copy the texte. Also I noticed that you are posting a lot of questions and answers. Please take your time to watch the entire video. Then if you still have questions, you can ask them in one single comment and I will try to reply if I know the answer.
@yash1152
@yash1152 2 жыл бұрын
> _Please take your time to watch the entire video_ @@BoostMyTool hi, i have watched the complete video, but i watch 2-3 times, and follow it bit by bit each time. thanks for reading the questions. i hope my commenting doesnt disturb u though 😅. i have this weird habbit of documenting things for myself for later in the video comments.
@houndmasterass7758
@houndmasterass7758 2 жыл бұрын
Very good tutorial, thx from Russia
@Shivam_Gupte
@Shivam_Gupte 2 жыл бұрын
love you sir thank you
@bena2543
@bena2543 2 жыл бұрын
Good explanation!
@Junior-ds8ps
@Junior-ds8ps Жыл бұрын
depois de testados varios tutoriais o seu foi o unico que me ajudou muito obrigado
@yash1152
@yash1152 2 жыл бұрын
msys commands: 2:26 | 3:09 3:29 | 4:05 installing mingw-w64 but it is already showing mingw there at 3:21 right??
@yash1152
@yash1152 2 жыл бұрын
update: yes, it's showing, but mingw64.exe is just a shell launcher and at setting the "environment variables" part of the video: 5:08 the mingw64 > bin folder is empty when checked at 3:21
@aaronkosidin2232
@aaronkosidin2232 10 ай бұрын
THANKYOU SO MUCH!!!!!!!!!!!!
@Haytham-Ali
@Haytham-Ali Жыл бұрын
instead of getting a window similar to yours after running the syu code ,,,, i got the same window but begins with ( c langarm64 ) and then the same list as you and also it says 1 package instead of 5 ,,, how to fix this issue pls?
@shoubhagyasingh8762
@shoubhagyasingh8762 2 жыл бұрын
Thank you very much keep it on ....♡♡♡♡
@vipinbhatnagar582
@vipinbhatnagar582 2 жыл бұрын
My output is 'gcc is not recognised as an internal or external command, operable program or batch file. Pls help
@neldauoggach8208
@neldauoggach8208 2 жыл бұрын
شكرا جاري الكريم من تونس الشقيقة
@PonelyPonely
@PonelyPonely Жыл бұрын
seems like the newer version you only need to run one command not multiple and it installs
@realanujgour
@realanujgour 2 жыл бұрын
Thank you sir it works
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 68 МЛН
Мы сделали гигантские сухарики!  #большаяеда
00:44
25 VS Code Productivity Tips and Speed Hacks
11:35
Fireship
Рет қаралды 2,3 МЛН
MSYS2 - GCC/MinGW on Windows (C/C++ Development)
18:03
constref
Рет қаралды 18 М.
How to install MSYS2 and configure it in Visual Studio Code to run C/C++ code
10:02
Embedotronics Technologies
Рет қаралды 18 М.
MSYS2 - Install C/C++ Compiler Tools on Windows PC (EASILY)
9:17
you will never ask about pointers again after watching this video
8:03
Low Level Learning
Рет қаралды 2,2 МЛН
C++ in VS Code: Building your Code with CMake
9:37
Visual Studio Code
Рет қаралды 29 М.