Hi Even,

I was using GCC 4.8.5 on Linux and getting the same error in openfilegdb as 
mentioned in (fixes #6991<https://github.com/OSGeo/gdal/issues/6991>).

So, I did what you suggested, and build GDAL 3.6 without a problem.

My mistake is that I was traying to get rid of the error by turning off the 
wrong driver (filegdb)!

So, everting seems to be fine with cmake. Great job in the transaction from 
autoconf, BTW.

And thanks again for fixing the GRIB driver. (fixes #7673, #7674).

Best regards,

Ivan
________________________________
From: Even Rouault <[email protected]>
Sent: Saturday, April 29, 2023 9:34 AM
To: Ivan Lucena <[email protected]>; [email protected] 
<[email protected]>
Subject: Re: [gdal-dev] GRIB can't get nodata and cmake can't disable FileGDB


Ivan,

(I see you've filed an issue for the GRIB nodata issue since.)


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.

For the OpenFileGDB driver, this should be -DOGR_ENABLE_DRIVER_OPENFILEGDB=OFF

-DGDAL_USE_FILEGDB=OFF is to disable the use of the proprietary SDK

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 
https://github.com/OSGeo/gdal/commit/b8076543f0fefb7106351297b845df2f8b4d8514 
alternatively, or better upgrade to something more recent

More generally when you report something, be very specific and post exact error 
messages.

Even

--

http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to