gcc / g++ throws exit code 1 and does nothing
I tried to compile my c++ / c files using gcc / g++ !
It did nothing
- the command neither produced a.exe file
- it didn't throw any error ,(print anything to console)
gcc myprogram.c
it showed no error message and moved to next line with Exit code 1. The .exe file was also not created
the same thing happend for g++ So , I tried to manually run the command
same thing happened. (no output, no error)
while running in command prompt it gave the following message in popup
"The application was unable to start correctly (Oxc00000be). Click 0K to close the application."
ps:
im using windows 11, mingw-64 compiler downloaded from github "x86_64-13.1.0-release-posix-seh-msvcrt-rt_v11-rev1.7z" ,I have windows defender on my pc , I tried to turn off real-time scanning and ran the command . It didn't work. neither it didn't show any log of blocking exe files, or gcc.exe, g++.exe
i had been using the same compiler for a few months, it didn't cause any trouble earlier, now it's not even working
i can't compile my code now.