Duplicate
I got this far and gave the compiler an option to use c++11 which in my case was -std=c++11 Then onto the next set of dozens of errors: In file included from Source/FreeImage/../LibJXR/jxrgluelib/JXRGlue.h:35: Source/FreeImage/../LibJXR/jxrgluelib/JXRGlue.h:99:13: error: expected initializer before ‘GUID_PKPixelFormatDontCare’ 99 | DEFINE_GUID(GUID_PKPixelFormatDontCare, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x00); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Source/LibJXR/common/include/guiddef.h:90:29:...
I got this far and gave the compiler an option to use c++11 which in my case was -std=c++11 Then onto the next set of dozens of errors: In file included from Source/FreeImage/../LibJXR/jxrgluelib/JXRGlue.h:35: Source/FreeImage/../LibJXR/jxrgluelib/JXRGlue.h:99:13: error: expected initializer before ‘GUID_PKPixelFormatDontCare’ 99 | DEFINE_GUID(GUID_PKPixelFormatDontCare, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x00); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Source/LibJXR/common/include/guiddef.h:90:29:...