Since it is a pain to install the Windows 7 SDK, we often get asked why we haven’t switched to MSVC 2015 already. The reason is that we still need to support Windows XP for a non-negligible number of Panda users, and MSVC 2010 is the latest compiler to support it. Given the sizeable market share of Windows XP, I think it would be unwise to drop support for it.
However, since Python 3.5 switched to MSVC 2015 and dropped Windows XP support, it might be a good idea to support both by using 2015 for the Python 3.5 builds, but still keep offering Python 2.7 and 3.4 builds compiled with MSVC 2010 for those who need to continue to support Windows XP.
So, building Panda with MSVC 2015 is now possible. You will need the latest GitHub clone of Panda3D, as well as these thirdparty packages, which include a copy of Python 3.5.3 and 3.6.1:
rdb.name/thirdparty-vc14-x64.7z (64-bit)
rdb.name/thirdparty-vc14.7z (32-bit)
You will also need to install the Windows 10 SDK.
Use this makepanda command to build it:
thirdparty\win-python3.5-x64\python.exe makepanda/makepanda.py --everything --msvc-version=14 --windows-sdk=10
(add --threads and --installer options as desired of course.)
The only package missing that’s worth mentioning is libRocket. It cannot be built since it does not support Python 3 at this point.
I’ve created a CMake script that will build all the thirdparty packages from source code. I’ve put it here:
github.com/rdb/panda3d-thirdparty
This can be used to easily rebuild the thirdparty packages for a different compiler, or using a different version. Feel free to contribute to the script to add missing packages.