c++ - MinGW path set but not being found at Powershell -


i started learning c++ in class, , have trouble setting built environment. our class uses mingw , vs code default building environment, followed class guideline install necessary mingw libraries , added directory of mingw bin folder environment variables(path).

so worked first time, after reboot vs code cannot find gcc , g++. typing gcc --version , g++ --version @ cmd works well; shows version info. however, typing in powershell(which vs code uses) not work anymore.

i'm totally new c++ , related environment, have fix trouble. in advance.

try add system environment variable, , var name "g++" value "c:\mingw\bin\g++.exe"(replace path g++.exe file path).maybe should restart computer apply operation if windows os version windows 10.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -