If your file has name _msvs_gen_2012_64.bat, you must generate solution for 64 bit systems. Use **"Visual Studio 11 Win64"** instead of "Visual Studio 11"