Hi Niklas

Am Montag, 25. April 2016 18:55:00 UTC+2 schrieb Niklas Mischkulnig:
>
> Here you go:
>
> enblend: enblend
>
> Blender: Unknown blender (enblend —version failed)
>
> exiftool: exiftool
>
> ExifTool: FAILED
>
> Okay, it does not find the executables. So we need to dig deeper.
The attached patch activates more debug information (it goes to the 
console). Maybe it helps to find which functions fails.

Thomas

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/d3341591-eca7-470a-bfd2-d163f5801695%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/hugin1/base_wx/Executor.cpp b/src/hugin1/base_wx/Executor.cpp
--- a/src/hugin1/base_wx/Executor.cpp
+++ b/src/hugin1/base_wx/Executor.cpp
@@ -152,6 +152,7 @@
         if (config->Read(name + wxT("/Custom"), 0l))
         {
             wxString fn = config->Read(name + wxT("/Exe"), wxT(""));
+            std::cerr << "Testing custom: " << fn.c_str() << std::endl;
             if (wxFileName::FileExists(fn))
             {
                 return fn;
@@ -165,6 +166,7 @@
         if (name == wxT("exiftool"))
         {
             wxString exiftoolDirPath = MacGetPathToBundledResourceFile(CFSTR("ExifTool"));
+            std::cerr << "ExifTool, path to bundled res: " << exiftoolDirPath.c_str() << std::endl;
             if (exiftoolDirPath != wxT(""))
             {
                 return exiftoolDirPath + wxT("/exiftool");
@@ -179,6 +181,7 @@
         CFStringRef filename = MacCreateCFStringWithWxString(name);
         wxString fn = MacGetPathToBundledExecutableFile(filename);
         CFRelease(filename);
+        std::cerr << "Filename for " << name.c_str() << "=" << filename.c_str() << std::endl;
 
         if (fn == wxT(""))
         {
diff --git a/src/hugin1/base_wx/platform.cpp b/src/hugin1/base_wx/platform.cpp
--- a/src/hugin1/base_wx/platform.cpp
+++ b/src/hugin1/base_wx/platform.cpp
@@ -37,6 +37,7 @@
 #include <iostream>
 #include <stdio.h>
 #include "wx/utils.h"
+#define DEBUG_INFO(msg) { std::cerr << "INFO " << DEBUG_HEADER << msg << std::endl; }
 
 using namespace std;
 

Reply via email to