How to Install MinGW (MSYS2) and Run C, C++ program in Microsoft Visual Studio( VS Code)|Ada Code|

Поделиться
HTML-код
  • Опубликовано: 8 фев 2022
  • 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:-
    ruclips.net/channel/UCvjL...
    Prerequisite Video:-
    Install and configure Microsoft Visual Studio Code (VS Code)
    • Install and configure ...
    Download Link:-
    Microsoft Visual Studio Code
    code.visualstudio.com/download
    MinGW official download page
    www.mingw-w64.org/downloads/
    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 RUclips 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.

Комментарии • 199

  • @hardik_30
    @hardik_30 Год назад +20

    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!!!

  • @giannemariedacanay5920
    @giannemariedacanay5920 Год назад +4

    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.

  • @user-je8xu5no1l
    @user-je8xu5no1l 2 года назад

    Thank you very much for I have been struggling with this problem for a long time and your video helps so much!

  • @karandaphade6801
    @karandaphade6801 10 месяцев назад

    realy only this video helped me ......
    i was trying from last 4 days
    there is half knowlegeble video on youtube
    keep it up

  • @saavigour1536
    @saavigour1536 Год назад +1

    Thanyou so much , i was failed to set up it and switched to dev c++, but hey gorgeous its working now...thanks a lot

  • @problemsolving7566
    @problemsolving7566 Год назад

    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 👍👍

  • @_BhagavadGita
    @_BhagavadGita 2 года назад

    You're a visual studio magician!

  • @haniaali8394
    @haniaali8394 2 года назад +1

    Looooved the tutorial , Perfectiiiion !!!!! 👌🏻👌🏻👌🏻👌🏻👌🏻

  • @radamesrodriguesneto4505
    @radamesrodriguesneto4505 2 года назад +20

    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!

    • @AnujPrayagiya
      @AnujPrayagiya 2 года назад

      Qaà

    • @AnujPrayagiya
      @AnujPrayagiya 2 года назад

      Qaà

    • @DK-kp8nw
      @DK-kp8nw Год назад

      Yeah, same here. This was the best tutorial out there. I tried 4 or 5 of them. Excellent job!!!

  • @user-hu7gy7to9b
    @user-hu7gy7to9b 10 месяцев назад

    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

  • @lifeteaches25
    @lifeteaches25 2 года назад +1

    awesome mam all your steps works and its compiling.
    great job awesome

  • @bhratsharma1661
    @bhratsharma1661 2 года назад +1

    Very helpful I got video when i am stucked and it really help me alot, thanks

  • @smalljpmorgan
    @smalljpmorgan 2 года назад +5

    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 !

  • @kapillakhera6080
    @kapillakhera6080 11 месяцев назад +2

    Thanks you very much 🥺😭 . I have been struggling for 3 days. You solved my problem. Thankyou 😭😭😭

  • @supportingknowledge
    @supportingknowledge 2 года назад +2

    Very useful video . Thanks for this video . I have successfully installed c compiler . Keep it up 👍👍

  • @vaibhavroy1654
    @vaibhavroy1654 Год назад

    fially it works , mingw was showing continuous error to download g++ file now after downloading msys2 it works thank u very much

  • @dikshantgupta5539
    @dikshantgupta5539 2 года назад +1

    Wonderful explanation. Thank you so much for your help

  • @jonbv2434
    @jonbv2434 10 месяцев назад

    precise configuration has been made, thumbs up!

  • @yogesh9149
    @yogesh9149 2 года назад +1

    Veryhelpful video 💯💯,thank u so much🙏🙏🙏

  • @shrirajshinde112
    @shrirajshinde112 Год назад

    Very very infity times thank you ma'am ❤ it works after watching so many videos and I got perfect place where it solved 💯🙌

  • @DronaMBM
    @DronaMBM 2 года назад

    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.

  • @nithishkumar4548
    @nithishkumar4548 2 года назад +1

    Thank you it was really helpful...
    Keep Rocking....

  • @praniljaisi4520
    @praniljaisi4520 2 года назад +1

    Thanks for it . It's Helpful

  • @whadoesimaer
    @whadoesimaer 2 года назад +1

    very helpful video👍👍 thank you 🙂

  • @amalk932
    @amalk932 Год назад

    works, keep up the good work man

  • @Pratiksha1811
    @Pratiksha1811 5 месяцев назад +1

    Thank You Soooo....Much Dear Really Very Very Helpful 💞💯❤

  • @lukasbartasek845
    @lukasbartasek845 Год назад +1

    Thank you, this was more than helpful 😁😁😁😁

  • @f1sports388
    @f1sports388 2 года назад +1

    Ada code you are awesome thank you

  • @vikasrathi8256
    @vikasrathi8256 2 года назад +3

    thanks yrr is helpful for me.....😉😉

  • @perumalsamygiri2645
    @perumalsamygiri2645 Год назад +1

    Thank you so much. It worked for me

  • @varshazore87
    @varshazore87 Год назад

    Very very useful video mam, thank you so much❤😊😊😊😊

  • @pranavchavhan6165
    @pranavchavhan6165 Год назад +1

    The Best Tutorial Thanks A Lot 🙏😎

  • @thomascovert6799
    @thomascovert6799 Год назад +3

    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.

    • @muhammadadeel3572
      @muhammadadeel3572 5 месяцев назад

      I been through the same problem around 4 hours approximately but i think it is the solution

  • @madebadrunaim9984
    @madebadrunaim9984 Год назад +1

    Work on my case big thanks 🥰

  • @789nahid
    @789nahid 2 года назад +1

    Thank you it helped a lot.

  • @GabrielLopes-bs7cy
    @GabrielLopes-bs7cy Год назад

    Thank you, this video help me a lot... !!👋👋👋

  • @kaustubh3071f
    @kaustubh3071f 5 месяцев назад

    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

  • @shivamarya5906
    @shivamarya5906 2 года назад +1

    Thank you it helped alot.

  • @yousefzanoon
    @yousefzanoon Год назад

    Thank you very much from Egypt

  • @AnasAnsari-zn3qx
    @AnasAnsari-zn3qx Год назад +1

    Thanks a lot mam. You help me through this video 🙌

  • @Nostalgic_GamerX
    @Nostalgic_GamerX Год назад +1

    Thanks Ada Code.

  • @flyingpig2288
    @flyingpig2288 Год назад

    You are GREAT!!! 💥💥💥

  • @manishagadwal3490
    @manishagadwal3490 Год назад

    I try with help of another video 50 times but not happen
    Then i saw ur video then itz done in one time superbb

  • @2Dummy384
    @2Dummy384 Год назад

    Thank's a lot it's really really help me 👍

  • @mohammedsadiq778
    @mohammedsadiq778 Год назад

    Thank you so much
    All the best for you

  • @user1__lastname169
    @user1__lastname169 Год назад

    Thank you so much it helps me a lot

  • @luqmonjonabdullaboqiyev7537
    @luqmonjonabdullaboqiyev7537 Год назад +1

    I love you my sister, the video that you shared to us is helpful, thanks sister!

  • @mssubinkumar7387
    @mssubinkumar7387 Год назад +1

    Hey it was really helpful.. thnk

  • @arfatkazi1390
    @arfatkazi1390 Год назад +1

    what a beautiful vioce you have😊😊😊😊

  • @ashutoshtripathy3467
    @ashutoshtripathy3467 Год назад +1

    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 🔥🔥

  • @21_shivamgajjar73
    @21_shivamgajjar73 Год назад

    this was very helpfulll thank you ☺☺

  • @hammad521
    @hammad521 2 года назад +2

    thank you so much. what a calm and cool way of instructions.

  • @Blitzkrieg-XXIII
    @Blitzkrieg-XXIII 6 месяцев назад

    You helped me solve the exact problem I had !! Thank you so much!!

  • @duvijan
    @duvijan Год назад +1

    wonderful saves a lot of time

  • @RR-jn1zc
    @RR-jn1zc Год назад

    Thank you .. please make more videos ...

  • @baidyanathjee
    @baidyanathjee 2 года назад +1

    Good Work !!!! Thanks...

  • @c-crat1907
    @c-crat1907 Год назад

    thanks! very helpfull

  • @no_hate_only_love
    @no_hate_only_love Год назад +1

    Thank you for helping me

  • @anishm25
    @anishm25 2 года назад +1

    thanks for your help :)

  • @pullrequest1481
    @pullrequest1481 2 года назад +1

    Thank you girl. 🙏🏻

  • @cryptonepal8647
    @cryptonepal8647 Год назад +1

    Thank you Didi❤️🥰

  • @waqardogar7126
    @waqardogar7126 9 месяцев назад +1

    Best video Ever:)

  • @tonyswisw2368
    @tonyswisw2368 Год назад +1

    Thanks you so much!!!

  • @nelsonemmanuel7545
    @nelsonemmanuel7545 Год назад +1

    Thank you so much😍😍😍😍

  • @kapasitifreaktans
    @kapasitifreaktans Год назад +1

    i very very thank youuuu

  • @shyamtejwani2825
    @shyamtejwani2825 Год назад

    thanks a lot it really helped

  • @hemalliyanathanthrigamage3352
    @hemalliyanathanthrigamage3352 Год назад

    thank you, dear 😘

  • @egplay8653
    @egplay8653 5 месяцев назад +1

    thanks, best video

  • @kireevanton2723
    @kireevanton2723 Год назад +2

    Спасибо большое, Ада, очень помогла. Всё чётко и понятно, даже странно, что у тебя так мало подписчиков.

    • @adacode9996
      @adacode9996  Год назад +1

      Я рад слышать, что это помогло вам.

    • @kireevanton2723
      @kireevanton2723 Год назад

      @@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.

  • @rajshivam
    @rajshivam Год назад +1

    Loved

  • @rajshivam
    @rajshivam Год назад

    Amazingly good

  • @RAVIRK6342
    @RAVIRK6342 Год назад

    🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏 thank mam bahut jyada wala

  • @akshaypadora
    @akshaypadora Год назад +1

    thanks buddy✌

  • @manjeetdigitalstudio
    @manjeetdigitalstudio Год назад

    thanks so much man

  • @jayendraagnihotri1180
    @jayendraagnihotri1180 2 года назад +1

    Thanks ma'am

  • @patriksplayzone2670
    @patriksplayzone2670 Год назад

    thank you!

  • @fer1417
    @fer1417 Год назад

    *Flawless tutorial*

  • @peacelover4772
    @peacelover4772 Год назад

    Thank you somuch

  • @AnilKumar-si4mh
    @AnilKumar-si4mh 2 года назад +1

    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 :)

    • @edwardmacnab354
      @edwardmacnab354 Год назад

      you should have used visual studio community because it comes with a compiler

  • @kotadiyakrunal4248
    @kotadiyakrunal4248 2 года назад +1

    Thank you

  • @jitendratiwari2776
    @jitendratiwari2776 Год назад

    Thankyou didi

  • @HackerTune
    @HackerTune 4 месяца назад +1

    Thnx buddy

  • @abhaysolanki8052
    @abhaysolanki8052 2 года назад +1

    Thanks mam

  • @tahatahir8280
    @tahatahir8280 Год назад

    thank you

  • @rajshivam
    @rajshivam Год назад +1

    Liked

  • @indrakumar355
    @indrakumar355 2 года назад +2

    Thank

  • @rajshivam
    @rajshivam Год назад +1

    U saved us

  • @vishalmaurya-fu7kt
    @vishalmaurya-fu7kt Год назад +1

    Thanks

  • @riazshaikh5558
    @riazshaikh5558 2 года назад +1

    thanks

  • @trashbhuwan
    @trashbhuwan Год назад

    thanks mam 😊

  • @bennguyen1313
    @bennguyen1313 4 месяца назад

    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?

  • @johnjoe6168
    @johnjoe6168 Год назад

    Great Job. I learned a lot from you today.

  • @kishankumar-dp5yi
    @kishankumar-dp5yi 2 года назад +1

    ❤️

  • @ruansilent
    @ruansilent Год назад +1

    ogm tks you so much, i checked the web and nothing work but you have save me

  • @LucasDosSCSilva
    @LucasDosSCSilva 2 года назад

    hey, ada. do you can show how to use c file debuger on vs code? followed your tutorial video, it only run c file but can`t debugger.

  • @kwartengabdulai2738
    @kwartengabdulai2738 Год назад +2

    I will give you 200%

  • @FPChris
    @FPChris 2 года назад

    I have MSYS2 installed and the only way I can get a GTK c program to compile is by opening the mingw64.exe terminal then using this commandline ... gcc `pkg-config --cflags gtk+-3.0` -o gtktest1.exe gtktest1.c `pkg-config --libs gtk+-3.0` ... How do I do this INSIDE VSCode? It keeps using Windows Powershell and can't find GTK in the MSYS2 install and errors.

  • @coleblock6339
    @coleblock6339 2 года назад

    It says my intelligence mode windows-msvc-x64 is compatible with compiler path, what do I do?

  • @abdullahmertozdemir9437
    @abdullahmertozdemir9437 2 года назад +1

    Hey Ada, I have a problem at 3:46 where it says "Looking for conflicting files" because my msys terminal doesn't look for them, so I can't download the required files as you said. What should I exactly do?

    • @abdullahmertozdemir9437
      @abdullahmertozdemir9437 2 года назад +3

      Well, if anyone else has this problem then it is fine. I followed the rest of the tutorial and it worked just fine. Some things Ada said shouldn't work worked before fixing them as well. It is probably just that your computer somehow took care of it or you did it before

    • @Gobs_gaming
      @Gobs_gaming Год назад

      @@abdullahmertozdemir9437 my pc is saying at that time error: failed to prepare transaction ( could not find database)

    • @edwardmacnab354
      @edwardmacnab354 Год назад +1

      @@abdullahmertozdemir9437 as she explained , you are not required to respond to those error messages because the process will auto correct and retry on its own.

  • @Sivaprabu
    @Sivaprabu Год назад

    How to enable strict compile?
    unused variables throws error () ?