Sorry, I had misunderstood something you said.
I finally managed to install the Windows 7.1 SDK, and I then also installed the VC++ 2010 Compiler Update and the VC++ 2010 Redistributable for good measure.
Then I opened your solution and built it. To be able to build it I had to add the
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE directory to my Path (in my system environment variable settings, not in VS) and reboot, and I also had to change the “Include Directories” and “Library Directories” settings in the “VC++ Directories” tab in the project settings to tick the “Inherit from parent or project defaults” checkbox in the “Edit” dialog (not the same-named option in the dropdown).
Then, it built and ran just fine. If after all these steps you cannot build the project, it must be some problem with your compiler, Windows SDK or Visual Studio set-up.
I do really recommend you use a development build of Panda3D, by the way. You no longer need to use the ancient Windows 7.1 SDK with that. You can still target Windows XP if needed by selecting the