Ver Fonte

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

rdb há 16 anos atrás
pai
commit
c7b77fb6f0
1 ficheiros alterados com 4 adições e 0 exclusões
  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())
 
 ##########################################################################################
 #