<div dir="ltr">Hello,<div>I'm struggling to compile GDAL on Centos8 with MrSID driver.</div><div>I got the MrSID SDK from online (<a href="https://www.extensis.com/support/developers">https://www.extensis.com/support/developers</a>), however for linux only gcc 4.8.2 and gcc 5.3.1 versions of the SDK are available.</div><div>I can manage to compile GDAL on Centos7 (gcc 4.8.5) with MrSID SDK (gcc 5.3.1), however when trying to achieve compilation on Centos8 (gcc 8.5.0), I get the following errors at make stage</div><div>```<br>In file included from /MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK/include/lt_types.h:28,                                                      <br>                 from mrsiddataset_headers_include.h:50,                                                         <br>                 from mrsiddataset.cpp:53:                                                                                                                                                                                      <br>/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK/include/lt_platform.h:102:5: error: #error PLATFORM ERROR: unknown compiler                                                                       <br>    #error PLATFORM ERROR: unknown compiler                                                                                                                             <br>In file included from mrsiddataset_headers_include.h:50,                                           <br>                 from mrsiddataset.cpp:53:                                                                                                                                                                                      <br>/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK/include/lt_types.h:72:5: error: #error NOT YET PORTED TO TARGET COMPILER                                      <br>    #error NOT YET PORTED TO TARGET COMPILER                                                                                                                      <br>/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK/include/lt_types.h:131:5: error: #error NOT YET PORTED TO TARGET COMPILER                                              <br>    #error NOT YET PORTED TO TARGET COMPILER<br></div><div>...</div><div>```</div><div>I suspect this is related to the fact that MrSID SDK is compiled with an old version of GCC (5.3) whereas GDAL is being compiled with a new one (8.5).</div><div><br></div><div>Unfortunately old versions of GCC are not available on Centos8, and I did not manage to compile old GCC from source on Centos8.</div><div><br></div><div>Any help would be appreciated.</div><div>Thanks</div><div>Johannes </div></div>