2
0
David Rose 13 жил өмнө
parent
commit
656d7242cb

+ 10 - 0
makepanda/makepanda.py

@@ -4887,6 +4887,16 @@ if (PkgSkip("PANDATOOL")==0):
   TargetAdd('pfm-trans.exe', input='libp3pystub.lib')
   TargetAdd('pfm-trans.exe', input='libp3pystub.lib')
   TargetAdd('pfm-trans.exe', opts=['ADVAPI'])
   TargetAdd('pfm-trans.exe', opts=['ADVAPI'])
 
 
+  TargetAdd('pfm-bba_pfmBba.obj', opts=OPTS, input='pfmBba.cxx')
+  TargetAdd('pfm-bba.exe', input='pfm-bba_pfmBba.obj')
+  TargetAdd('pfm-bba_config_pfm.obj', opts=OPTS, input='config_pfm.cxx')
+  TargetAdd('pfm-bba.exe', input='pfm-bba_config_pfm.obj')
+  TargetAdd('pfm-bba.exe', input='libp3progbase.lib')
+  TargetAdd('pfm-bba.exe', input='libp3pandatoolbase.lib')
+  TargetAdd('pfm-bba.exe', input=COMMON_PANDA_LIBS)
+  TargetAdd('pfm-bba.exe', input='libp3pystub.lib')
+  TargetAdd('pfm-bba.exe', opts=['ADVAPI'])
+
 #
 #
 # DIRECTORY: pandatool/src/lwo/
 # DIRECTORY: pandatool/src/lwo/
 #
 #

+ 1 - 2
pandatool/src/pfmprogs/pfmBba.cxx

@@ -84,8 +84,7 @@ process_pfm(const Filename &input_filename, PfmFile &file) {
     
     
     pofstream out;
     pofstream out;
     if (!bba_filename.open_write(out)) {
     if (!bba_filename.open_write(out)) {
-      pfm_cat.error()
-        << "Unable to open " << bba_filename << "\n";
+      cerr << "Unable to open " << bba_filename << "\n";
       return false;
       return false;
     }
     }