When I try to compile my c++ project using Visual Studio 2010 in either Win32 or x64 mode I get the following error:
>C:\\Program Files (x86)\\Microsoft SDK
It would seem that _AMD64_ is not defined, since I can't imagine you are compiling for Itanium (_IA64_).
_AMD64_
_IA64_