[GPlates-discuss] GPlates won't compile with recent versions of gdal, proj, and boost

John Cannon john.cannon at sydney.edu.au
Tue Jul 23 19:21:29 AEST 2019


This is fixed - GPlates now compiles and works with GDAL 3 and PROJ 6.  There were some API changes we needed to migrate to.

This will be in GPlates 2.2.

Regards,
John

-----Original Message-----
From: GPlates-discuss <gplates-discuss-bounces at mailman.sydney.edu.au> On Behalf Of John Cannon
Sent: Thursday, 11 July 2019 3:43 PM
To: GPlates general discussion mailing list <gplates-discuss at mailman.sydney.edu.au>
Subject: Re: [GPlates-discuss] GPlates won't compile with recent versions of gdal, proj, and boost

Hi Robbie,

It looks like GDAL 2.5+ now requires Proj6 (we use Proj4).  I'll update that next week sometime and send to you to test out.

The boost message is just a warning, so can be ignored. If you're compiling the public 2.1 release source code then it ignores warnings by default (ie, doesn't turn them into errors like the dev builds).

Regards,
John

-----Original Message-----
From: GPlates-discuss <gplates-discuss-bounces at mailman.sydney.edu.au> On Behalf Of Robbie Smith
Sent: Thursday, 11 July 2019 3:08 PM
To: gplates-discuss at mailman.sydney.edu.au
Subject: [GPlates-discuss] GPlates won't compile with recent versions of gdal, proj, and boost

I've been having issues trying to get GPlates to compile on my system.
The versions of libgdal and libproj have been updated to 3.0.0 and 6.1.0, and attempting to compile GPlates results in the following
errors:

   /usr/include/proj_api.h:37:2: error: #error 'To use the proj_api.h
   you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
      37 | #error 'To use the proj_api.h you must define the macro
   ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
         |  ^~~~~

   /usr/include/boost/pending/integer_log2.hpp:7:1: note: #pragma
   message: This header is deprecated. Use
   <boost/integer/integer_log2.hpp> instead.
       7 | BOOST_HEADER_DEPRECATED("<boost/integer/integer_log2.hpp>");
         | ^~~~~~~~~~~~~~~~~~~~~~~

Any ideas as to how I can fix this? I'm running Arch Linux.

regards,
Robbie

_______________________________________________
GPlates-discuss mailing list
GPlates-discuss at mailman.sydney.edu.au
https://protect-au.mimecast.com/s/XRkXCNLwM9iQP9Xnfmc99P?domain=mailman.sydney.edu.au

_______________________________________________
GPlates-discuss mailing list
GPlates-discuss at mailman.sydney.edu.au
https://protect-au.mimecast.com/s/XRkXCNLwM9iQP9Xnfmc99P?domain=mailman.sydney.edu.au



More information about the GPlates-discuss mailing list