Browse Source

need some include files there

Chris Brunner 16 years ago
parent
commit
c96e429f4a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pandatool/src/mayaprogs/mayapath.cxx

+ 4 - 0
pandatool/src/mayaprogs/mayapath.cxx

@@ -18,6 +18,8 @@
 
 
 #include "dtoolbase.h"
 #include "dtoolbase.h"
 #include "filename.h"
 #include "filename.h"
+#include "dSearchPath.h"
+#include "executionEnvironment.h"
 #include <stdlib.h>
 #include <stdlib.h>
 
 
 #if defined(_WIN32)
 #if defined(_WIN32)
@@ -158,9 +160,11 @@ main(int argc, char *argv[]) {
 #ifdef _WIN32
 #ifdef _WIN32
   // Windows case.
   // Windows case.
   char *command_line = strdup(GetCommandLine());
   char *command_line = strdup(GetCommandLine());
+  cout << "command_line: " << command_line << "\n";
   STARTUPINFO startup_info;
   STARTUPINFO startup_info;
   PROCESS_INFORMATION process_info;
   PROCESS_INFORMATION process_info;
   GetStartupInfo(&startup_info);
   GetStartupInfo(&startup_info);
+  cout << "os_command: " << os_command.c_str() << "\n";
   BOOL result = CreateProcess(os_command.c_str(),
   BOOL result = CreateProcess(os_command.c_str(),
                               command_line, 
                               command_line, 
                               NULL, NULL, true, 0,
                               NULL, NULL, true, 0,