Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99246

mingw not detected by VS code, but works in external powershell

$
0
0

I am trying to run gfortran compiler within terminal in visual studio code, but the gfortran compiler is not recognised. I tried running the same compiler in powershell externally and it works fine (As shown in the picture below, I havent given it a file to complile however, but note the error codes are not the same).

I have made sure all the baisic mingw packages are installed, and that the /bin directory is added to the PATH environment variable. Not sure what is causing it to not be read by VS Code.

powershellandmingw


Viewing all articles
Browse latest Browse all 99246

Trending Articles