On 30 Jan., 11:14, "T. Modes" <[email protected]> wrote:
> Hi Kay
>
> the versions should match.
> Python 2.7 (includes, libs, dll installed with same package, no other
> version installed)
> Python 2.7 is compiled with MSVC9, as I compile my hugin version

Another hope shattered :(

> Sorry, I was not successful to provide a backtrace.
> When running Hugin with debug the import of the module fails (paths
> were modified, so it should find the module). So the script is never
> executed.

that is odd. I'll try building a debug version here on Ubuntu and see
if I experience similar problems. It might be necessary to enable
debugging on the Python side:

"Compiling the interpreter with the Py_DEBUG macro defined produces
what is generally meant by “a debug build” of Python. Py_DEBUG is
enabled in the Unix build by adding --with-pydebug to the configure
command. It is also implied by the presence of the not-Python-specific
_DEBUG macro. When Py_DEBUG is enabled in the Unix build, compiler
optimization is disabled."

This refers to Unix, but may be the same or similar on Windows.

> >  A common problem when using SWIG on Windows are the Microsoft
> > function calling conventions which are not in the C++ standard.
...
> I will try it.

I appreciate your tenacity. I feel we might want some help. I'm sure
someone has been here before and there's a solution waiting for the
problem. If none cometh forth, let's start a new thread with a call
for help. In the meanwhile, I think we shouldn't spend too much effort
trying to chance a solution. Let's focus on what works and play with
that for a while to see if the problem is maybe just the one sore spot
and everything else is okay. I propose that as a workaround you change
the declaration and definition of the 'culprit' function to accept a
const SrcPanoImage &.

Kay

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to