Pangolin icon indicating copy to clipboard operation
Pangolin copied to clipboard

failed to compile on Mac M2

Open barakdiker123 opened this issue 2 years ago • 0 comments

: note: this is the location of the previous definition /opt/local/include/pangolin/config.h:54: warning: "HAVE_OPENEXR" redefined 54 | #define HAVE_OPENEXR | : note: this is the location of the previous definition /opt/local/include/pangolin/config.h:59: warning: "OSX" redefined 59 | #define OSX | : note: this is the location of the previous definition /Users/barakdiker/install_from_git/Pangolin/components/pango_image/include/pangolin/image/pixel_format.h:62:21: error: expected unqualified-id before string constant 62 | PANGOLIN_DEPRECATED("Use PixelFormat instead") | ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/barakdiker/install_from_git/Pangolin/components/pango_image/include/pangolin/image/pixel_format.h:62:21: error: expected ')' before string constant 62 | PANGOLIN_DEPRECATED("Use PixelFormat instead") | ~^~~~~~~~~~~~~~~~~~~~~~~~~ | ) /Users/barakdiker/install_from_git/Pangolin/components/pango_image/include/pangolin/image/pixel_format.h:64:21: error: expected unqualified-id before string constant 64 | PANGOLIN_DEPRECATED("Use PixelFormatFromString instead") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/barakdiker/install_from_git/Pangolin/components/pango_image/include/pangolin/image/pixel_format.h:64:21: error: expected ')' before string constant 64 | PANGOLIN_DEPRECATED("Use PixelFormatFromString instead") | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ) cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics make[2]: *** [CMakeFiles/pango_image.dir/components/pango_image/src/pixel_format.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs....

barakdiker123 avatar Aug 26 '22 20:08 barakdiker123