Well, I've had a very frustrating time of this. I've tried with about every permutation of Visual Studio 2008, 2012, 2013, the "WindowsSDK" provided in the first post here, the various version of Microsoft SDK (7.0A, 7.1A, 8.0, 8.0A, 8.1A), and at no point have I had success, though I've had different errors at different times.
Some of the errors I've had have been meaningful, and I've been able to resolve. But, when I get everything else resolved, it boils down to the (seemingly) same failure, one which results in probably the most useless error I've ever encountered.
Essentially, I get 934 warnings about various unknown pragmas. Immediately following that, I am told:
Warning 935 warning U4010: 'Release\CvGameCoreDLL.res' : build failed; /K specified, continuing ...
Warning 937 warning U4011: 'Release' : not all dependents available; target not built
Warning 936 warning U4011: 'Release\CvGameCoreDLL.dll' : not all dependents available; target not built
And finally, the only so-called "error":
Error 938 error MSB3073: The command "nmake /NOLOGO Release_clean
nmake /NOLOGO /K Release
" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets 43 5 CvGameCoreDLL
I didn't get all these pragma warning in Visual Studio 2008, but I also couldn't make VS2008 locate "afxres.h" (its constant source of failure).
Anybody have any clue what's going on?