This is probably not a case of making sure the correct tools are on the PATH, but rather you are missing GNU make and the C/C++ compilers. You have probably installed a minGW package that is too minimal for your needs. The following quote is from the current installation guide . . .
Unlike the case with mingw-get-inst.exe, you are no longer obliged to install any particular set of packages. If you do wish to install mingw-get-inst.exe's obligatory set, (including the GNU C Compiler, the GNU Debugger (GDB), and the GNU make tool), you should select the mingw-base package for installation.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.