瀏覽代碼

Automatically locate potentially conflicting ppremake and makepanda libraries on the library path, and warn if it finds them

rdb 16 年之前
父節點
當前提交
c7b77fb6f0
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      makepanda/makepanda.py

+ 4 - 0
makepanda/makepanda.py

@@ -1384,6 +1384,10 @@ def WriteConfigSettings():
 WriteConfigSettings()
 
 MoveAwayConflictingFiles()
+if "libdtoolbase" in GetLibCache():
+    print "%sWARNING:%s Found conflicting Panda3D libraries from other ppremake build!" % (GetColor("red"), GetColor())
+if "libp3dtoolconfig" in GetLibCache():
+    print "%sWARNING:%s Found conflicting Panda3D libraries from other makepanda build!" % (GetColor("red"), GetColor())
 
 ##########################################################################################
 #