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.