The term 'gcc' is not recognized as the name of a cmdlet, function SOLVED in Visual Studio Code

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

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

  • @TheAutumn90
    @TheAutumn90 Год назад +88

    Thank you, finally a video that makes sense. VScode isn't very beginner friendly.

    • @gilernt
      @gilernt 11 месяцев назад +15

      fr i'm about to cry

    • @Thanos-pr1ph
      @Thanos-pr1ph 17 дней назад +1

      I will break my laptop

  • @amansen1043
    @amansen1043 Год назад +9

    After adding path for compiler , should've told to restart VS code. It gives error otherwise.

  • @xHamxNelson
    @xHamxNelson 6 дней назад +1

    It took some time to finally have VSCode output Hello World, and this was the last thing I needed to do to make it happen. Thank you so much for the tutorial!

  • @anubhavarya8168
    @anubhavarya8168 Год назад +5

    Thank u so much sir. As a new user of VS code, I have suffered a lot. But after following this video, I have solved my problem.🥰🥰

  • @swatidwivedi9035
    @swatidwivedi9035 8 месяцев назад +1

    Thankyou so much!! was very frustrated with these errors now i can finally begin my vs code journey.

  • @ruchitha6348
    @ruchitha6348 Год назад +5

    Thank you so much sir for this lecture..this video is really helpful

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

    If this doesn't work for you, make sure the gcc file is actually in your bin folder! I had to install the gcc file first and now it works for me

    • @unitedtoptech6288
      @unitedtoptech6288  11 месяцев назад

      gcc file ? we are adding the path in environment variable right

    • @dngrjeans1113
      @dngrjeans1113 11 месяцев назад

      @@unitedtoptech6288 yeah but the path doesn't do anything if it leads to an empty folder, I had to install files to fill up the folder and make it useful

    • @unitedtoptech6288
      @unitedtoptech6288  11 месяцев назад

      So you didn't install mingw or any compiler before?

    • @SameekshaReddy-jt9hh
      @SameekshaReddy-jt9hh 8 месяцев назад +1

      How to install it?
      I installed but it is not showing for me in bin

    • @unitedtoptech6288
      @unitedtoptech6288  8 месяцев назад

      From sourceforge, is it working now?

  • @GaneshNAIK111
    @GaneshNAIK111 2 месяца назад

    Tqss a lot sirrrr I have been breaking out my mind for this from so much time you have given me relief . Tqs sir

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

    I can't click on the edit option, what to do?

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

      Edit option in environment variables?

    • @hryt8064
      @hryt8064 11 месяцев назад

      Go about system and then system protection and then advanced where at the bottom u can see the environmental variables now u can change the path 😊

    • @unitedtoptech6288
      @unitedtoptech6288  8 месяцев назад

      cool

    • @tejatholeti5545
      @tejatholeti5545 Месяц назад

      ​@@hryt8064 thnxx 🥰

  • @ezhilpondurai8820
    @ezhilpondurai8820 Месяц назад +1

    Iam not getting gcc.exe
    It is showing only gcc

  • @jetforceexe8170
    @jetforceexe8170 7 месяцев назад +1

    By the way, if this issue still persists even after editing the environment path, restart VS Code and/or restart your system. This worked for me.

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

    This was my first time setting up a computer without a tutorial. I did all the same step even opening and closing vscode multiple times. I now know you also need to watch a tutorial video telling you to close vscode then it will work :P

    • @itookallthejamsbananamilk296
      @itookallthejamsbananamilk296 11 месяцев назад +1

      Same thing is happening with me n idk what to do it's not working

    • @matthewjohnstone7324
      @matthewjohnstone7324 11 месяцев назад

      ​@@itookallthejamsbananamilk296 Have you:
      1. Added C:\MinGW\bin (or whatever your path is) to the system environment variables path?
      2. Closed all terminals in VScode
      3. Closed vscode
      4. Restarted your computer
      Also is gcc recognised in cmd/ powershell?

    • @itookallthejamsbananamilk296
      @itookallthejamsbananamilk296 11 месяцев назад

      @@matthewjohnstone7324 yep I have done all these things still it's not working for me whenever I'm writing gcc n enter in new terminal it's showing that gcc is not recognised

  • @lehusdemha8050
    @lehusdemha8050 Месяц назад +2

    Definitely not working

    • @unitedtoptech6288
      @unitedtoptech6288  Месяц назад

      It did for all, its your problem if you can't do it properly

  • @Thanos-pr1ph
    @Thanos-pr1ph 17 дней назад +1

    Thanks sir
    U saved my day

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

    Thanks sir 🙏🙏
    I got this problem again and again finally my problem getting solved
    Thanks again

  • @SiddharthS-ke5br
    @SiddharthS-ke5br Год назад +2

    I dont have the MinGw folder

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

      Search for mingw in start and click open file location , if you can't find it better download it again

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

    why is my bin folder empty???
    how to fix that?

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

      Can you check inside some other sub folder inside mingw main folder ? , it will surely have

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

      Thank you for making me notice that mine was empty too, it worked now!

    • @unitedtoptech6288
      @unitedtoptech6288  7 месяцев назад

      Cool

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

    Thank you for this video. Helped me loads!!

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

    top programmer!!

  • @nassim_27
    @nassim_27 6 месяцев назад

    when I
    open the Advanced system settings and environment variables and Path and Edit I find it different from the video

    • @unitedtoptech6288
      @unitedtoptech6288  6 месяцев назад

      What do you find?

    • @nassim_27
      @nassim_27 6 месяцев назад +1

      @@unitedtoptech6288
      The list seems smaller. The data is on one line

    • @unitedtoptech6288
      @unitedtoptech6288  6 месяцев назад

      so u have user or system variables alone?

    • @nassim_27
      @nassim_27 6 месяцев назад

      @@unitedtoptech6288 when I open the Path for editing i find all The information in one line

    • @unitedtoptech6288
      @unitedtoptech6288  6 месяцев назад

      So what line is that? If you dont have path , add it and also the mingw location to it too like how I did it

  • @BiKe_LoveRs98
    @BiKe_LoveRs98 11 месяцев назад +1

    I completed all process... tab pr bhi nhi work nhi kr raha bhai..

    • @unitedtoptech6288
      @unitedtoptech6288  11 месяцев назад +1

      Are you getting the same error? check the mingw path if its correct

    • @BiKe_LoveRs98
      @BiKe_LoveRs98 11 месяцев назад +1

      @@unitedtoptech6288 after 1 day automatic problum .. had solved..gcc is working... thnx ...🥰

    • @unitedtoptech6288
      @unitedtoptech6288  11 месяцев назад +1

      Cool man

  • @BLED555
    @BLED555 2 месяца назад

    thank u so much. it worked for me. i was so worried.

  • @ddenterprises-sd9pz
    @ddenterprises-sd9pz Год назад

    Thankyou so much
    Very helpful video

  • @Samikshagupta425
    @Samikshagupta425 13 дней назад

    And for python what i to do solve same type of problems

  • @abhimanyu6593
    @abhimanyu6593 8 месяцев назад

    Thank you so much sir, it helped me a lot

  • @UNKNOWN__01.
    @UNKNOWN__01. 28 дней назад

    Thank you so much buddy. It was very helpful ^_^😁😁

  • @VNZ_Media
    @VNZ_Media 12 дней назад

    I can't find the minGW folder :(

  • @The_mentor777
    @The_mentor777 11 месяцев назад

    yes it is worked thank you so much sir for solving this problem.

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

    Sir, Why are you telling to open file location of MINGW?🧐

  • @dharampal_
    @dharampal_ 6 месяцев назад

    Bro bro bro bro bro realllyyy thank you so much finally it worked after alot of problemessss 😭😭🤘🏿🤘🏿🤘🏿

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

    i cant edit the path in the environmental variables

  • @NamNguyenNhatBao
    @NamNguyenNhatBao Месяц назад

    i cant install mingw cuz it said error while downloading over and over again. how to fix this?

    • @unitedtoptech6288
      @unitedtoptech6288  Месяц назад

      Did you download from source forge?

    • @NamNguyenNhatBao
      @NamNguyenNhatBao Месяц назад

      @@unitedtoptech6288 yes i did, i tried 2 more times but none worked

    • @NamNguyenNhatBao
      @NamNguyenNhatBao Месяц назад

      @@unitedtoptech6288 no i didnt, i downloaded from the main page. let me try

    • @NamNguyenNhatBao
      @NamNguyenNhatBao Месяц назад

      yes but it didnt work. it said download failed while it downloading the bin.tar

    • @NamNguyenNhatBao
      @NamNguyenNhatBao Месяц назад

      i also have the log here :
      install: libiconv-1.14-3-mingw32-dll-2.tar
      installing libiconv-1.14-3-mingw32-dll-2.tar
      install: libpthreadgc-2.10-mingw32-pre-20160821-1-dll-3.tar.xz
      installing libpthreadgc-2.10-mingw32-pre-20160821-1-dll-3.tar.xz
      install: mingw32-libgomp-deps-5.3.0-mingw32-dll.meta
      installing mingw32-libgomp-deps-5.3.0-mingw32-dll.meta
      install: libgcc-6.3.0-1-mingw32-dll-1.tar.xz
      installing libgcc-6.3.0-1-mingw32-dll-1.tar.xz
      install: libintl-0.18.3.2-2-mingw32-dll-8.tar.xz
      installing libintl-0.18.3.2-2-mingw32-dll-8.tar.xz
      install: mingwrt-5.0.2-mingw32-dll.tar.xz
      installing mingwrt-5.0.2-mingw32-dll.tar.xz
      install: libgmp-6.1.2-2-mingw32-dll-10.tar.xz
      installing libgmp-6.1.2-2-mingw32-dll-10.tar.xz
      install: libmpfr-3.1.5-2-mingw32-dll-4.tar.xz
      installing libmpfr-3.1.5-2-mingw32-dll-4.tar.xz
      install: libmpc-1.0.3-1-mingw32-dll-3.tar.xz
      installing libmpc-1.0.3-1-mingw32-dll-3.tar.xz
      install: libisl-0.18-1-mingw32-dll-15.tar.xz
      installing libisl-0.18-1-mingw32-dll-15.tar.xz
      install: gcc-core-4.8.2-mingw32-dev.tar.meta
      installing gcc-core-4.8.2-mingw32-dev.tar.meta
      install: mingw32-gcc-core-deps-6.3.0-1-mingw32-dll.meta
      installing mingw32-gcc-core-deps-6.3.0-1-mingw32-dll.meta
      install: libquadmath-6.3.0-1-mingw32-dll-0.tar.xz
      installing libquadmath-6.3.0-1-mingw32-dll-0.tar.xz
      install: libgomp-6.3.0-1-mingw32-dll-1.tar.xz
      installing libgomp-6.3.0-1-mingw32-dll-1.tar.xz
      install: libssp-6.3.0-1-mingw32-dll-0.tar.xz
      installing libssp-6.3.0-1-mingw32-dll-0.tar.xz
      install: libmingwex-5.0.2-mingw32-dll-0.tar.xz
      installing libmingwex-5.0.2-mingw32-dll-0.tar.xz
      install: w32api-5.0.2-mingw32-dev.tar.xz
      installing w32api-5.0.2-mingw32-dev.tar.xz
      install: mingwrt-5.0.2-mingw32-dev.tar.xz
      installing mingwrt-5.0.2-mingw32-dev.tar.xz
      install: binutils-2.28-1-mingw32-bin.tar.xz
      mingw-get: *** ERROR *** required package file is not available
      mingw-get: *** ERROR *** cannot install binutils-2.28-1-mingw32-bin.tar.xz
      mingw-get: *** ERROR *** due to previous download failure
      install: libatomic-6.3.0-1-mingw32-dll-1.tar.xz
      installing libatomic-6.3.0-1-mingw32-dll-1.tar.xz
      install: libz-1.2.8-1-mingw32-dll-1.tar
      installing libz-1.2.8-1-mingw32-dll-1.tar
      install: gdb-7.6.1-1-mingw32-bin.tar.lzma
      installing gdb-7.6.1-1-mingw32-bin.tar.lzma
      install: make-3.82.90-2-mingw32-cvs-20120902-bin.tar.lzma
      installing make-3.82.90-2-mingw32-cvs-20120902-bin.tar.lzma
      install: gcc-6.3.0-1-mingw32-lic.tar.xz
      installing gcc-6.3.0-1-mingw32-lic.tar.xz
      install: libstdc++-6.3.0-1-mingw32-dll-6.tar.xz
      installing libstdc++-6.3.0-1-mingw32-dll-6.tar.xz
      install: gcc-core-6.3.0-1-mingw32-bin.tar.xz
      mingw-get: *** ERROR *** required package file is not available
      mingw-get: *** ERROR *** cannot install gcc-core-6.3.0-1-mingw32-bin.tar.xz
      mingw-get: *** ERROR *** due to previous download failure
      install: mingw32-base-2013072200-mingw32-bin.meta
      installing mingw32-base-2013072200-mingw32-bin.meta
      install: gcc-c++-4.8.2-mingw32-dev.tar.meta
      installing gcc-c++-4.8.2-mingw32-dev.tar.meta
      install: gcc-c++-6.3.0-1-mingw32-bin.tar.xz
      mingw-get: *** ERROR *** required package file is not available
      mingw-get: *** ERROR *** cannot install gcc-c++-6.3.0-1-mingw32-bin.tar.xz
      mingw-get: *** ERROR *** due to previous download failure

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

    Sir I followed all steps as u said but again I got sm error please help me.😢

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

    There is no path in my system variables

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

      Try adding in user variables it will work too if you don't have multiple user accounts

  • @RengaNathan-ck8yx
    @RengaNathan-ck8yx Месяц назад

    Thank you man it's solved 🎉

  • @chessplayerking
    @chessplayerking 8 дней назад

    Thank You very much kind sir

  • @ShivamSharma-ju4oo
    @ShivamSharma-ju4oo 8 дней назад

    Thanks a lot 🙏

  • @maybe_harshh
    @maybe_harshh Месяц назад

    Thank you very much❤

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

    Thank you so much bro 🙏
    I just subscribed ur channel ❤

  • @riyayadav2703
    @riyayadav2703 6 месяцев назад

    what to do its still not working. please help me out

    • @unitedtoptech6288
      @unitedtoptech6288  6 месяцев назад

      have you added the right path? and also restart vscode after u have added the path, can you please check that

    • @riyayadav2703
      @riyayadav2703 6 месяцев назад

      @@unitedtoptech6288I did everything

    • @riyayadav2703
      @riyayadav2703 6 месяцев назад

      @@unitedtoptech6288 I did everything

    • @unitedtoptech6288
      @unitedtoptech6288  6 месяцев назад

      Okay lets try this, can you into mingw folder then bin and check if you have an application file named gcc?

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

      @@unitedtoptech6288 yes there is a file named gcc

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

    after your method I still see the previous message what I do plz help me

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

      Can you tell what is that message?

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

      @@unitedtoptech6288 the same message that you make video for.."the term gcc is not recognized as the name of cmdlet,,"etc

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

      Did you check if you have added the right path? is mingw really there in the folder of that path?

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

    Thank you so much!!

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

    Sir still not working i cant even run hello world i think can nver lurn cuding

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

      😢

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

      You can still learn through online C editors

    • @dngrjeans1113
      @dngrjeans1113 11 месяцев назад

      make sure the gcc file is actually in the bin folder! in my case it wasn't, I clicked on the one file that WAS in my bin folder, which opened a window where I could install the gcc file and now it works for me

    • @unitedtoptech6288
      @unitedtoptech6288  7 месяцев назад

      ohh thanks

  • @nealkumar8070
    @nealkumar8070 21 день назад

    Thanks a heck lot brother

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

    helped , worked , thanks ♥

  • @al-nahianlabib8536
    @al-nahianlabib8536 Год назад

    Thank you very much for helping a looooooooot

  • @rujulashivanand5933
    @rujulashivanand5933 3 месяца назад

    Thank you so much

  • @englink-epc9325
    @englink-epc9325 Год назад

    Thanks bro, life saver

  • @aswanijoshi6126
    @aswanijoshi6126 2 месяца назад

    Thank you ❤

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

    Thanks for the video!!!❤❤

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

    The edit option is blur in my laptop

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

    edit option is disabled

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

    Thanks you soo guy !!!

  • @pranava4057
    @pranava4057 6 месяцев назад

    and if you have two hardisk store the location at your system OS hard disc.....it works

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

    Thank you!!!

  • @Siddhartha.Chatterjee
    @Siddhartha.Chatterjee Год назад

    Followed the entire process, yet back to square 1 for some reason :(

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

      It just worked for me and many :))

    • @Siddhartha.Chatterjee
      @Siddhartha.Chatterjee Год назад

      @@unitedtoptech6288 I understand that, because everyone else is also mentioning the same process... But no idea why it is not working for me...

    • @dngrjeans1113
      @dngrjeans1113 11 месяцев назад

      I'm still having problems too
      (edit) I figured it out! in my case, the gcc file wasn't actually in the bin folder. there was only one file in the bin folder, so I clicked on it and it brought me to this window where I found a gcc option to install. now it works! I hope this helps if you haven't figured it out already

    • @Siddhartha.Chatterjee
      @Siddhartha.Chatterjee 11 месяцев назад

      @@dngrjeans1113 I don't know what happened in my case, but now for some reason, it is working after I am putting the full absolute/relative path of the file...

    • @unitedtoptech6288
      @unitedtoptech6288  7 месяцев назад +1

      just uninstall mingw and start from scratch

  • @rpb007
    @rpb007 15 дней назад

    thanks a lot dude

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

    Thanks!

  • @user-co4qb4gf2p
    @user-co4qb4gf2p 4 месяца назад

    bro thank you so much

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

    Sir, My problem is not solved 🙂

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

      What error are you getting?

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

      @@unitedtoptech6288 Sir, same problem he ha, or jo ape na bataya bo be keya mana,, but problem solve he nahi hue

    • @unitedtoptech6288
      @unitedtoptech6288  7 месяцев назад

      did you add the right path in env variables?

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

    What should I do 😭

  • @ISc-ri4wh
    @ISc-ri4wh 9 месяцев назад

    THANKYOU!!!

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

    Not working 😭

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

    Ming w illa bro!?

  • @Aditya-zd5tm
    @Aditya-zd5tm Год назад

    Love you man

  • @iamsidh03
    @iamsidh03 2 месяца назад

    thanks dude

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

    thanks a ton bro!!!

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

    9thank you so mush i really suffered to get it right

  • @beyyoubboss7437
    @beyyoubboss7437 11 месяцев назад

    oh fianlly, thank you fr

  • @addictedgameryt9284
    @addictedgameryt9284 Месяц назад

    Nice video bro

  • @mayuyu4ever
    @mayuyu4ever 11 месяцев назад

    thanks

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

    I love you

  • @tejashwinis121
    @tejashwinis121 7 месяцев назад

    Thank u so much sir its very helpful

  • @yogeshx6
    @yogeshx6 20 дней назад

    Thanks bro ❤

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

    thank you so much.

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

    Thank you sir 🙏🏻

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

    Thank you so much

  • @GundrathiSudarshan
    @GundrathiSudarshan 7 месяцев назад

    Thank you❤