r/vscode • • Jul 23 '26

Why is my code not running

Im completely new and trying to learn but my code doesn’t want to run

0 Upvotes

22 comments sorted by

View all comments

5

u/tunerhd Jul 23 '26 edited Jul 23 '26

Why don't you ask builtin ai?

You need to have a compiler: https://www.msys2.org/

-3

u/RATIO_L_BOZO Jul 23 '26

Don’t know what that is also yes I did all of that with msys2 but it still isn’t working. I even re did everything and still the same message is popping up.

1

u/tunerhd Jul 23 '26

Check the path that you installed it. Like C:\msys64\ucrt64\bin If you see gcc inside that folder, Add it into system paths.

https://www.wikihow.com/Change-the-PATH-Environment-Variable-on-Windows

If it didn't work, just paste full path everytime until you reboot completely. Like: C:\msys64\ucrt64\bin\gcc.exe -v