somehow you are not having access to the
nmake command, which is in the visual studio tools. I think you should search to solve this problem first. From console, you should be able to run
nmake, else you should either reinstall visual studio or find out what is preventing you from using
nmake in console.