#Can someone help me installing the Mingw compiler fopr Visual Studio Code?

1 messages · Page 1 of 1 (latest)

slim cargo
#

Hey🙋‍♂️ , I am trying to install the mingw compiler for Visual Studio Code to run C++ programs, but i have some trouble installing it. I tried to follow the instructions on your website and on the VSC website, but when i run MSYS2 and type the g++ or other commands it just gives the command not found error eventhough I used the "pacman -S mingw-w64-ucrt-x86_64-gcc" to install the tools. The other thing is that the bin folder, whichs path I am supposed to copy to the system environment to run it in VSC is empty. I am really new into the programming scene but I guess it is not supposed to be empty. I would appreciate some help.
~Simon

upper trail
#

Are you using UCRT64 shell?

slim cargo
#

Oh, I was using usr. That fixed the problem thank you. But do you know if the bin folder in the path is supposed to be empty?

#

It also looks like i am missing the mingw-w64-gdb package. Do you know how to install it?