<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi Even,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
I was using GCC 4.8.5 on Linux and getting the same error in openfilegdb as mentioned in (<span class="issue-keyword tooltipped tooltipped-se ContentPasted0">fixes</span>
<a class="issue-link js-issue-link ContentPasted0" data-error-text="Failed to load title" data-id="1513660734" data-permission-text="Title is private" data-url="https://github.com/OSGeo/gdal/issues/6991" data-hovercard-type="issue" data-hovercard-url="/OSGeo/gdal/issues/6991/hovercard" href="https://github.com/OSGeo/gdal/issues/6991">
#6991</a>).</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
So, I did what you suggested, and build GDAL 3.6 without a problem.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<span style="font-size:12pt" class="ContentPasted0 ContentPasted1">My mistake is that I was traying to get rid of the error by turning off the wrong driver (filegdb)!<br>
</span></div>
<br>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
So, everting seems to be fine with cmake. Great job in the transaction from autoconf, BTW.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted2">
<span id="" title="" class="">And </span>thanks<span id="" title="" class=""></span> again for fixing the GRIB driver. (fixes #7673, #7674).<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
Best regards,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
Ivan<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Even Rouault <even.rouault@spatialys.com><br>
<b>Sent:</b> Saturday, April 29, 2023 9:34 AM<br>
<b>To:</b> Ivan Lucena <ivan.lucena@outlook.com>; gdal-dev@lists.osgeo.org <gdal-dev@lists.osgeo.org><br>
<b>Subject:</b> Re: [gdal-dev] GRIB can't get nodata and cmake can't disable FileGDB</font>
<div> </div>
</div>
<div>
<p>Ivan,</p>
<p>(I see you've filed an issue for the GRIB nodata issue since.)</p>
<br>
<blockquote type="cite">
<div class="x_elementToProof"><br>
</div>
<div class="x_elementToProof">But I am getting a compilation error, somewhere on ogrsf_frmts/openfilegdb, and I cannot turn off that driver on cmake. The parameter -DGDAL_USE_FILEGDB=OFF seems to work fine.
</div>
</blockquote>
<p>For the OpenFileGDB driver, this should be -DOGR_ENABLE_DRIVER_OPENFILEGDB=OFF</p>
<p>-DGDAL_USE_FILEGDB=OFF is to disable the use of the proprietary SDK</p>
<p>I somehow recall someone had mentioned a building issue some time ago but can't find it. Anyway, I assume you may perhaps use an older compiler, like MSVC 2015 which we no longer test/support and that doesn't support some aspects of C++11. You may perhaps
 try to revert <a class="x_moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/commit/b8076543f0fefb7106351297b845df2f8b4d8514">
https://github.com/OSGeo/gdal/commit/b8076543f0fefb7106351297b845df2f8b4d8514</a> alternatively, or better upgrade to something more recent<br>
</p>
<p>More generally when you report something, be very specific and post exact error messages.
<br>
</p>
<p>Even</p>
<p>-- </p>
<pre class="x_moz-signature" cols="72"><a class="x_moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</body>
</html>