'visual studio code isn't noticing environment variables
I am using C and C# in vscode, but cant seem to execute them. recently. when I tried to execute a C program, this came up:
gcc : The term 'gcc' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:61
+ ... "d:\codin\C_yes_they_are_different\scripts\" ; if ($?) { gcc test.c ...
+ ~~~
+ CategoryInfo : ObjectNotFound: (gcc:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
when the following command is run:
cd "d:\codin\C_yes_they_are_different\scripts\" ; if ($?) { gcc test.c -o test } ; if ($?) { .\test }
for this program:
#include <stdio.h>
int main()
{
printf ("hello world");
return 0;
}
I followed this tutorial https://www.youtube.com/watch?v=0HD0pqVtsmw&t and I did setup the envirinment variables, yet this happens. and I need help. environment variables
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
