Has anyone else ran into this? I must have something set up wrong but i thought i followed all the steps correctly, albeit i did that a few months back. It shouldn’t be using visual studio’s compiler, right?
Are you sure you are building from the MSYS console? It looks like you are compiling from a standard command prompt and using the Visual Studio 2019 compiling tools found in your PATH variable.
No, I make my plugins on the C drive, and use gcc from the command line to make plugins. Also use Visual Studio to build and debug my unit tests, but not from the MSYS2 command line. It all works with no special tinkering. I wonder why MSYS2 is even able to find Visual Studio. Did you (or someone else add visual studio to MSYS2’s path? I don’t think it’s in my path. Although I admit I’m not sure how everything gets there (the stuff I put there intentionally is in .bash_profile.)
I figured out the problem, i had defined that windows environment variable for CXX to be the visual studio path because I was trying to work with visual studio earlier, deleting that allowed the make command to work. I guess the windows path variables override the msys shell variables.