Some changes I did on makepanda that the mantainer could find useful.
This is to detect other platform SDK’s apart from 6.1. In makepandacore.py:870, replace:
if (platsdk == 0):
platsdk=GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v6.1","InstallationFolder")
with:
if (platsdk == 0):
platsdk=GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.0","InstallationFolder")
if (platsdk == 0):
platsdk=GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v6.1","InstallationFolder")
if (platsdk == 0):
platsdk=GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v6.0A","InstallationFolder")
if (platsdk == 0):
platsdk=GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v6.0","InstallationFolder")
Also, you should hide the warning 4275, at least in VS2008 it’s triggered everywhere and it’s a major pain:
makepanda.py:464
cmd = "cl /wd4996 /wd4275 /Fo" + obj + " /nologo /c "