[GPlates-discuss] Gplates Compilation Error - GDAL

Fourel Loic Loic.Fourel at NGU.NO
Thu Jul 5 21:04:37 AEST 2018


Hi all,


I'm new to Gplates and I tried to compile it from sources (gplates-2.0.0-unixsrc) on my Debian Stretch (9.4). I installed all the prerequisites but the compile step failed at 78% with the error copied at the end of this email. I saw in the mailing list archives that a similar issue was raised last year. It seems that the OGRSFDriverRegistrar function is deprecated in GDAL 2.1 (the version I installed). I wanted to know if there is a known fix to this issue in order to complete the install on my machine.


Many thanks for your reply,

Best regards,

Loic Fourel

src/file-io/OgrReader.cc: In member function ‘bool GPlatesFileIO::OgrReader::open_file(const QString&)’:
src/file-io/OgrReader.cc:950:22: error: ‘Open’ is not a member of ‘OGRSFDriverRegistrar’
  d_data_source_ptr = OGRSFDriverRegistrar::Open(fname.c_str(),FALSE);

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.sydney.edu.au/pipermail/gplates-discuss/attachments/20180705/6d8e3786/attachment-0001.html>


More information about the GPlates-discuss mailing list