问题
I have installed Netbeans as well as MinGW along with the MSYS, still I am having the below error when build and run
C:\MinGW\msys\1.0\bin\make.exe -f Makefile CONF=Debug
make.exe": /bin/sh: Command not found
make.exe": /bin/sh: Command not found
make.exe": *** [.validate-impl] Error 127
What could be the reason.
回答1:
I had the same problem, I installed the MSYS
in the root of C:/
and add the path to path environment in Windows
also correct it in the Netbeans
.
- Download the MSYS from: http://downloads.sourceforge.net/mingw/MSYS-1.0.10.exe
- Install it in
C:/
, and add the address in the o path:C:\msys\1.0\bin
- Edit make.exe address in NetBeans:
Tools > Options > C/C++
inMake Command
来源:https://stackoverflow.com/questions/48972091/netbeans-error-for-msys-for-mingw