On Sat, 27. Mar 2021 at 14:45:51 +0530, Paul N wrote:
> Hi, I am trying to build QGIS 3.16 on Window 10 Pro and I am getting error
> messages:

Apparently not the latest version of 3.16.
 
> I had added the following lines in files given below :
 
> #ifndef ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
> #define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
> #endif
> #include <proj_api.h>

That breaks with PROJ8.

Current 3.16 reads:

#if defined(PROJ_VERSION_MAJOR) && PROJ_VERSION_MAJOR>=6
#if defined(PROJ_VERSION_MAJOR) && PROJ_VERSION_MAJOR>=6 && PROJ_VERSION_MAJOR<8
#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
#endif


Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden            https://www.norbit.de
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode

Attachment: signature.asc
Description: PGP signature

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to