Error while compiling with Visual Studio 2012

We don’t currently support compiling with Visual Studio 2012, only with 2008. If you still wish to use 2012, you will need to go into the Panda3D source code and fix these errors yourself, sorry.