Hi! I’m really enjoying learning c++, but I’ve gotten stuck on the Compile and Execute Article of the Hello World module.
I am following the instructions for [Running Hello World via Command Prompt (Windows) ]
I installed MSYS2 (using default locations) and followed instructions 1-7 from https://www.msys2.org as instructed. Everything I did looked EXACTLY like what is in the instructions. But when I get to the part where I try to add the new path environment variable, everything looks right except that there is no ‘bin’ folder. I already tried showing hidden items and it’s just not there. Any thoughts? Thank you!
I’m doing the C course and having problems related to this too, I followed every step on MSYS2 exactly, I am able to add a new path AND the Bin folder is there too. But the part after where you type “gcc --version” in command prompt after always comes up with “‘gcc’ is not recognized as an internal or external command,
operable program or batch file.” Tried Restarting PC, the Command window and everything
I have the ‘bin’ folder in the MSYS2 folder but it is empty. The whole process from the Mike Dane video seemed to complete successfully. I watched as the files were unpacked. However, when I try to run the g++ command I get the message
g++: fatal error: no input files
compilation terminated.
Dane stated at about 2:34 into the video, during the part where he is explaining how to check to see if you already have the compiler installed, that if you get the error message “'g++'is not recognized as an internal or external command, operable program or batch file.”, then you do not have the compiler installed. However, he said, if you get some other error message then you probably do have it installed. So, it seems as though I did get the compiler installed. Yet, where are the files that are supposed to be in the ‘bin’ folder? Again, the folder is there but it is empty.
I’m not getting a response…I’m going to spam every avenue I can with this problem until I get a solution, so here’s spam number …one? or two. No bin folder. help, please. I did pay money, here… Sorry about the snark, but when I paid money and I very much want to continue with this course, the fact that my path forward is blocked is frustrating.
not sure if this is still a problem for those who have responded but to those in the future the path should go to the ucrt folder. instead of trying to follow any of the mingw folders. found answer by navigating to this discussion within forum