Browse Source

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

rdb 16 years ago
parent
commit
c7b77fb6f0
1 changed files with 4 additions and 0 deletions
  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())
 
 ##########################################################################################
 #