Hello, I am trying to build libpano13-2.9.21 on macOS Monterey (12.1) on
x86_64 architecture. I am seeing errors like this during the build step:
/tmp/libpano-20211230-23553-1kbwuty/libpano13-2.9.21/panorama.h:56:10:
fatal error: 'endian.h' file not found
#include <endian.h>
^~~~~~~~~~
Looks like on macOS, endian.h lives at <machine/endian.h>, hence the error.
I replaced the occurrence listed above with #include <machine/endian.h> and
got it to build in my environment.
Note that macOS' <machine/endian.h> is not identical to Linux <endian.h> in
terms of symbols/functions available. But seeing as the build completed,
looks like whatever differences there may be might not an issue here. I can
provide the header if needed.
--
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/af8520de-b599-4a31-9a07-624aaabbcd9an%40googlegroups.com.