How to Install MinGW (gcc / g++) compiler on Windows | Suresh Agrawal

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ค. 2024
  • Step by step installation of gcc / g++ compiler on windows
    ►Click here to subscribe -
    / nsgacademy
    ►Download NSG Academy Android App - rb.gy/skn8vc
    ►TimeStamps -
    00:00 - Introduction of this video
    00:36 - Download MinGW installation manager setup tools from www.mingw.org/
    01:37 - Install MinGW installation manager setup tools
    02:25 - Install gcc / g++ compiler on Windows
    03:33 - Configure gcc / g++ compiler on Windows
    05:13 - Check gcc / g++ version to ensure whether configuration is successful or not
    06:05 - Edit, Compile and Run sample c and cpp program on Windows
    07:51 - Change name of default object code i.e. a.exe to any name
    08:32 - Thanks 😊
    Follow NSG Academy on Social Media
    ►Facebook - / nsgacademypune
    ►Instagram - / nsgacademy
    ►Twitter - / nsgacademy_pune
    Visit NSG Academy
    ►Website - www.nsgacademy.in
    ►Google - g.page/nsgacademy_pune
    Follow me On Social Media
    ►Personal Facebook A/c - / suresh.agrawal.963871
    ►Personal Instagram A/c - / suresh.rp.agrawal

ความคิดเห็น • 48

  • @vidhishukla3033
    @vidhishukla3033 3 ปีที่แล้ว +2

    Thanks a ton! I was really very tired of other videos... You made a proper one.

  • @techiez
    @techiez 3 ปีที่แล้ว

    thanks a lot very useful video

  • @niranjanmagare5193
    @niranjanmagare5193 4 ปีที่แล้ว +1

    Bohot sahi sir. ✌️

  • @Vikhyath_Shetty
    @Vikhyath_Shetty 4 ปีที่แล้ว +1

    Thank you sir. I saw many videos regarding this but this one is topnotch.

  • @mandarparkhi3708
    @mandarparkhi3708 3 ปีที่แล้ว +1

    Suresh ji, very useful video. Thanks for sharing

  • @santanudutta3377
    @santanudutta3377 2 ปีที่แล้ว

    Great explanation !! Thanks a lot - This will make history one day......

  • @harsh9558
    @harsh9558 3 ปีที่แล้ว

    Thx a lot sir!

  • @vinodkumardevendra1219
    @vinodkumardevendra1219 3 ปีที่แล้ว

    Thx u sir...

  • @khoukhebroud8946
    @khoukhebroud8946 3 ปีที่แล้ว +1

    Sir when i am doing check at command prompt it shows me like " gcc is not recognized as an internal or external commad " So What is the problem

    • @nsgacademy
      @nsgacademy  3 ปีที่แล้ว

      First check whether gcc got downloaded properly or not and if downloaded then configure gcc properly according to video

  • @shubhambhujbal8252
    @shubhambhujbal8252 4 ปีที่แล้ว +1

    👌👌👌💓

  • @condcromo
    @condcromo 3 ปีที่แล้ว

    Hi. The link not work.

  • @shaikhmoin8371
    @shaikhmoin8371 3 ปีที่แล้ว +1

    Sir mera windows 7 hai and mere laptop ke 1gb ram hai mai jab mingw ka setup karraha hoon toh installing ho hi nahi rahi hai plz reply ❓

    • @nsgacademy
      @nsgacademy  3 ปีที่แล้ว

      You must upgrade your machine configuration. Or you can use any IDE (Dev-c++, codeblocks etc) to excecute C/Cpp programs. No other alternatives.

  • @econut27
    @econut27 4 ปีที่แล้ว

    Sir, android studio, django ka installation bhi bta dijiye

  • @kunalshete8122
    @kunalshete8122 3 ปีที่แล้ว

    Kya sir 32bits laptop ke liye kuch alag process hoti hai

    • @nsgacademy
      @nsgacademy  3 ปีที่แล้ว

      Old versions of MinGW are available for 32 bits machine.

    • @nsgacademy
      @nsgacademy  3 ปีที่แล้ว

      No change in installation process

  • @factandvalues9183
    @factandvalues9183 3 ปีที่แล้ว

    Sir website jo apne btai hai woh run nhi kr rahi hai .... Please check krna and dosti website bta foh

  • @healtheducationentertainme6478
    @healtheducationentertainme6478 3 ปีที่แล้ว

    sir mai windows 7 use krta hu us me path variable hi nhi hai ..kya kru

    • @nsgacademy
      @nsgacademy  3 ปีที่แล้ว

      You will find PATH variable in environment variable -> system variable, scroll down that list, it may be somewhere in between

    • @healtheducationentertainme6478
      @healtheducationentertainme6478 3 ปีที่แล้ว

      @@nsgacademy what to do if it have got deleted

    • @nsgacademy
      @nsgacademy  3 ปีที่แล้ว +1

      Create a new variable PATH in that list and paste gcc path there

  • @_abishek_ak
    @_abishek_ak 3 ปีที่แล้ว

    hey

  • @Story_Telling_Bro
    @Story_Telling_Bro 3 ปีที่แล้ว

    GCC error no such file or directory

    • @nsgacademy
      @nsgacademy  3 ปีที่แล้ว

      Once check path of gcc, whether u have configured correct path. And after configuration restart cmd prompt

    • @Story_Telling_Bro
      @Story_Telling_Bro 3 ปีที่แล้ว

      @@nsgacademy 👍🙏

  • @sanjayrohakale9305
    @sanjayrohakale9305 3 ปีที่แล้ว

    Nahi ho raha hai sir

    • @nsgacademy
      @nsgacademy  3 ปีที่แล้ว

      Gcc installation or configuration??

  • @_034_divyanshusrivastava6
    @_034_divyanshusrivastava6 3 ปีที่แล้ว

    Mingw ke bin folder me g++.exe nhi show ho rha hai. Sirf g++ likha hua hai...

    • @nsgacademy
      @nsgacademy  3 ปีที่แล้ว

      It might have not been downloaded all libraries. Uncheck g++ and recheck g++ from MinGW installer

    • @_034_divyanshusrivastava6
      @_034_divyanshusrivastava6 3 ปีที่แล้ว

      Every time i try to run my code it says collect2.exe error id returned 1
      Please sir tell me what to do
      It also says a.exe is not recognised as internal or external
      And i have uninstalled the antivirus as well but still this is problem

    • @nsgacademy
      @nsgacademy  3 ปีที่แล้ว

      change name of output file using following command
      gcc sourcefilename.c -o outputfilename
      And then for execution just write
      outputfilename

    • @_034_divyanshusrivastava6
      @_034_divyanshusrivastava6 3 ปีที่แล้ว

      Thank you sir now it's working.. Thanks a lot 😊

    • @sudhanshuraj3843
      @sudhanshuraj3843 3 ปีที่แล้ว

      Bhai mereko bhe sikha dega Kya pls merese nhii ho raha

  • @nirlepashinde9491
    @nirlepashinde9491 3 ปีที่แล้ว

    Sir whenever I try to execute my file by a. exe it says that a.exe is not recognize as an internal or external command
    So what should I do

    • @sureshagrawal3076
      @sureshagrawal3076 3 ปีที่แล้ว +1

      If you have antivirus on your machine, then it deletes all .exe files by default by considering it as virus. So, either change antivirus settings or disable antivirus temporarily and then compile and run your code.

    • @nirlepashinde9491
      @nirlepashinde9491 3 ปีที่แล้ว

      Thanks

    • @sudhanshuraj3843
      @sudhanshuraj3843 3 ปีที่แล้ว

      Bhai Tere isske baad chal Gaya kya

  • @vandhanareddy1373
    @vandhanareddy1373 3 ปีที่แล้ว

    I was fade up watching other videos. But your video made my work simple and easy. Thank u for the video sir.
    But the problem in my case is that in my command prompt when I enter 'gcc --version' it is showing like 'gcc is not recognized as an internal or external command.......'.
    Ik there is some problem in download r path setting. Oops but I am unable to find and sought it out.
    I hope u vil help me vit this issue sir. I know it's been a very long time since I uploaded the video. But waiting for ur reply sir
    PLEASE DO REPLY SIR🙏🙏🙏

    • @nsgacademy
      @nsgacademy  3 ปีที่แล้ว

      You have not set path properly. Copy path of bin folder and paste in environment variable as I explained in video.

    • @nsgacademy
      @nsgacademy  3 ปีที่แล้ว

      And if you have already set path of bin folder, then restart command prompt. It will work definitely.

    • @vandhanareddy1373
      @vandhanareddy1373 3 ปีที่แล้ว

      Ok sir. Thanks for ur reply