I have installed Vim and MinGW on my machine, so I try to create Hello World then compile in in Vim and everything work fine. However when I type :make
it show error 'make' not recognized as an internal or external command
.
I already added variable path to C:\MinGW\bin
. I want to know how to configure Vim or my machine to allow make
command.
Can you confirm that there is a make.exe
in C:\MinGW\bin
? I seem to remember that last time I installed mingw, it was called mingw32-make.exe
.
If there is no make.exe
but there is a mingw32-make.exe
, you'll have to change the 'makeprg'
option:
:set makeprg=mingw32-make
:make
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With