[Solved] gcc is not recognized as an internal or external command operable program or batch file

preview_player
Показать описание
gcc is not recognized as an internal or external command operable program or batch file and the term 'gcc' is not recognized as the name of a cmdlet function script file or operable program are few common error people using gnu gcc compiler encounter while using C compiler to compile their c files. In this video I will not only solve this issue for you but explain you the reason for the same and how to avoid it in the future!

Best Hindi Videos For Learning Programming:

Follow Me On Social Media
Рекомендации по теме
Комментарии
Автор

Bhaiya gcc.exe naam ki file hi nhi bani mingw install krne ke baad v🙂

kumarutsav
Автор

How to make it work in VS code terminal? It is still showing the same error in VS Code terminal, but in power shell it has been corrected.

deepayanbardhan
Автор

Ek carry Bhai hai Jo roaster king hai
Or
Yanha Harry Bhai hai Jo problem solving Hero 🙏🙏 Shukriya Sir jiii

riyazahmedpathan
Автор

for those to whomerror still exist one master tip -
GO TO All Apps < MinGW< tick the all gcc files for installation
why because in my case after doing from this tutorials error was still there so Min GW par dubara gaya waha par dekha ki aur bhi gcc files thi install krne ke liye maine vo sari installation pr laga di after that again bin me jake copy krke paste kiya as shown in video

AND THIS TIME THERE WAS NO ERROR

ayushtiwari
Автор

How to make it work in VS code terminal? It is still showing the same error in VS Code terminal, but in power shell it has been corrected😔😔

misbahulhaque
Автор

please help me how to solve this problem
gcc: error: first.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.

amazingworld
Автор

'g++' is not recognized as an internal or external command,
operable program or batch file. this problem is not solved

gauravchoudhary
Автор

It worked!!

For those who are trying to solve this problem, they must check that bin folder contains gcc file or not because in my situation I got two bin folder one is in minGW and another in the minGW32.

alameennnn
Автор

Sir, There's no gcc.exe in my MinGw folder. please tell me how to fix it

sakshibailam
Автор

sir, I followed the steps given by you above but still gcc is not running on my command prompt. its showing 'gcc' is not recognized as an internal or external command,
operable program or batch file. Please help me sir.

humaripathshala
Автор

gcc.exe: fatal error: no input files compilation terminated. (ya error ya Raha hay Kasa solve kara)

Mr.RatanBajaj
Автор

Gce.exe j nahi a raha bin me jane ke bad

movietime
Автор

Sir meri toh gcc.exe file hi show nhi ho rhi

keshavgupta
Автор

Sir Mera g++ recognize nahi ho raha hai path mai C:\MinGW\bin\g++ path mai add karne ke baad bhi kya ye problem computer root ke wajah se aa raha hai kya sir @Code With Harry

ShivamChaudhary-jnkw
Автор

Hi Harry A lot of people having issues with gcc: I have already added the path into the environment but still getting the same issue. I just believe there must be some sort of bug in the gcc. would you refer to an alternative CodeBlocks etc ?
gcc: fatal error: no input files
compilation terminated.
Man i have spent whole night just fixing this and still unable, taking more time to setup the environment then learning C. please help

zeeshanoffice
Автор

For anyone who has tried the steps mentioned in the video but still unable to fix issue, here I am suggesting some methods which might be helpful.
1) Make sure the path doesn't contain any white space i.e. blanks. Use underscore if you want to rename source files.
2) If your 'environment variable' screen doesn't show you "new" button after you click on EDIT, just put a semicolon(;) and then paste the file name in the space provided and click on OK.
3) If your problem has been solved in cmd prompt but not in VS CODE, try saving your project, then restarting VS Code.
Hope that helps.

alok
Автор

Thank you very much.
I spent 5 hours to solve this problem by watching another videos. But when I saw your video my problem solved. Thanks 😘

pcemlectures
Автор

I love vs code but because of this problem I am unable to use it because of this GCC issue
tried your solution and restarted PowerShell and GCC too but still unable to solve my issue
kindly help me out sir .

numbgaming
Автор

sir aap ne jo gcc copy krke my pc advance setting me enviroment va me new file paste kiye bt mere me paste krne ke baad bhi nahi ho raha hai

shubhamsongs
Автор

Thanks a lot sir 2 din se kr rha tha aab jake hua hai very much happy☺✨💕💕

beingharshh