Browse Source

windows fix

David Rose 14 years ago
parent
commit
abee07ef0d
2 changed files with 3 additions and 1 deletions
  1. 1 0
      makepanda/makepanda.py
  2. 2 1
      makepanda/makepandacore.py

+ 1 - 0
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"):

+ 2 - 1
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")