On 8 Feb., 16:27, Harry van der Wolf <[email protected]> wrote:
> I deactivated my libpano 2.9.17 and compiled 2.9.18.
>
> Then I compiled hugin using the "-DBUILD_HSI=ON" parameter.
> The compilation stopped with a lot of errors. See below.
Hi Harry!
first of all - thanks for trying. The file producing all the errors is
obviously
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/
algorithms/nona/NonaImageStitcher.h
Since this isn't really crucial, just to go forward you may want to
exclude it from being wrapped by SWIG. This is fairly simple: The file
is referenced twice, first in the block bracketed in %{ and %}, then
further down, where the actual %include statement pulls it into the
interface. Just comment out both occurences - I've done so with
another file which failed to wrap here (ImageGraph.h, just below).
Then just try again, and if you're lucky you'll get a compiling
wrapper, just without the NonaImageStitcher bit, which is really a
side issue and only has to be dealt with if someone really needs it -
and for special cases, dedicated interface code can be writen.
The problem reminds me of what happened here when I tried to build the
interface with distutils, instead of letting cmake handle it all.
There must be a subtle difference between flags passed to the compiler
or a similar incompatibility, I haven't figured it out yet. even if
the compile succeeds, you're not necessarily there yet - but if the
module is built and you can import it from a python interpreter
prompt, you can be quite confident things have worked out.
Sorry I can't be more helpful, since I don't have Mac to try this
myself. Stay in touch!
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