From abee07ef0d8a55b4414ad37c7a3beee3554797b0 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 19 Dec 2011 18:01:27 +0000 Subject: [PATCH] windows fix --- makepanda/makepanda.py | 1 + makepanda/makepandacore.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index cc77b72100..df2959774c 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -416,6 +416,7 @@ if (COMPILER=="MSVC"): if (PkgSkip("PYTHON")==0): IncDirectory("ALWAYS", SDK["PYTHON"] + "/include") LibDirectory("ALWAYS", SDK["PYTHON"] + "/libs") + SmartPkgEnable("EIGEN", "", (), ("Eigen/Dense",), target_pkg = 'ALWAYS') for pkg in PkgListGet(): if (PkgSkip(pkg)==0): if (pkg[:4]=="MAYA"): diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 045491d2fe..32b5aef1d2 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -1403,7 +1403,8 @@ def SdkLocateDirectX( strMode = 'default' ): SDK["DX9"] = dir.replace("\\", "/").rstrip("/") print '\t\t\tFound default Dx9 Sdk from the uninstaller keys in the registery' if ("DX9" not in SDK): - exit("\t\tCouldn't find a DirectX SDK") + print "\t\tCouldn't find a DirectX SDK" + return elif strMode == 'jun2010': if ("DX9" not in SDK): dir = GetRegistryKey("SOFTWARE\\Wow6432Node\\Microsoft\\DirectX\\Microsoft DirectX SDK (June 2010)", "InstallPath")