Caleb Xu schrieb am Donnerstag, 30. Dezember 2021 um 21:47:10 UTC+1: > 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: >
Sorry, but for testing such things we released several release candidates. Why waiting to the to final release? > > /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. > We are using only the preprocessor defines __BYTE_ORDER and __BIG_ENDIAN from endian.h. Are they on MacOS also defined? -- 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/3bc6e53f-c8fb-4a3b-8280-1e1f26cebde1n%40googlegroups.com.
