<div dir="ltr">Hi Richard,<div><br></div><div>I can build QGIS with the latest proj and gdal if I add this to cmake: <span style="color:rgb(0,0,0);font-family:monospace">-D</span><span style="font-family:monospace">ACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Thanks</span></div><div><span style="font-family:monospace">Saber</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 1 Feb 2019 at 19:29, Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Devs,<br>
<br>
Seeing this tweet:<br>
<br>
<a href="https://twitter.com/EvenRouault/status/1091067967763288066" rel="noreferrer" target="_blank">https://twitter.com/EvenRouault/status/1091067967763288066</a><br>
<br>
pointing to<br>
<br>
<a href="https://erouault.blogspot.com/2019/01/srs-barn-raising-8th-report-ready-for.html" rel="noreferrer" target="_blank">https://erouault.blogspot.com/2019/01/srs-barn-raising-8th-report-ready-for.html</a><br>
<br>
With the help of Even I've been able to compile proj+gdal master (to<br>
become proj6). If you want to compile and use it next to the proj/gdal<br>
from your distro (Debian testing here) you maybe need some extra tips,<br>
which Even jotted down here:<br>
<br>
<a href="https://trac.osgeo.org/gdal/wiki/BuildingOnUnixGDAL25dev" rel="noreferrer" target="_blank">https://trac.osgeo.org/gdal/wiki/BuildingOnUnixGDAL25dev</a><br>
<br>
So now "we" can start to make this work with QGIS.... :-)<br>
<br>
[354/4155] Building CXX object<br>
src/core/CMakeF...is_core.dir/qgscoordinatereferencesystem.cpp.o<br>
FAILED:<br>
src/core/CMakeFiles/qgis_core.dir/qgscoordinatereferencesystem.cpp.o<br>
ccache /usr/bin/c++  -DQT_CONCURRENT_LIB -DQT_CORE_LIB<br>
-DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB<br>
-DQT_NO_CAST_TO_ASCII -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB<br>
-DQT_SERIALPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKITWIDGETS_LIB<br>
-DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB<br>
-DTEST_DATA_DIR=\"/home/richard/git/qgisgdal/tests/testdata\"<br>
-DWITH_BINDINGS -DWITH_QTWEBKIT -D_HAVE_PTHREAD_ -Dqgis_core_EXPORTS -I.<br>
-I../src/core -Isrc/core -I../src/core/3d -I../src/core/annotations<br>
-I../src/core/auth -I../src/core/dxf -I../src/core/effects<br>
-I../src/core/expression -I../src/core/fieldformatter<br>
-I../src/core/geometry -I../src/core/geocms -I../src/core/geocms/geonode<br>
-I../src/core/layertree -I../src/core/layout -I../src/core/locator<br>
-I../src/core/metadata -I../src/core/pal -I../src/core/processing<br>
-I../src/core/processing/models -I../src/core/providers<br>
-I../src/core/providers/memory -I../src/core/raster<br>
-I../src/core/renderer -I../src/core/scalebar -I../src/core/symbology<br>
-I../src/core/mesh -I../src/core/validity -I../external/kdbush/include<br>
-I../external/nmea -I../external/poly2tri -isystem<br>
/home/richard/bin/proj/include -isystem /home/richard/bin/gdal/include<br>
-isystem /usr/include/QtCrypto -isystem /usr/include/qt5keychain<br>
-isystem /usr/include/x86_64-linux-gnu/qt5 -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtCore -isystem<br>
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtXml -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtSql -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem<br>
/usr/include/x86_64-linux-gnu/qt5/QtPositioning -Wall -Wextra<br>
-Wno-long-long -Wformat-security -Wno-strict-aliasing -g -fPIC<br>
-fvisibility=hidden   -fPIC -std=gnu++11 -MD -MT<br>
src/core/CMakeFiles/qgis_core.dir/qgscoordinatereferencesystem.cpp.o -MF<br>
src/core/CMakeFiles/qgis_core.dir/qgscoordinatereferencesystem.cpp.o.d<br>
-o src/core/CMakeFiles/qgis_core.dir/qgscoordinatereferencesystem.cpp.o<br>
-c ../src/core/qgscoordinatereferencesystem.cpp<br>
../src/core/qgscoordinatereferencesystem.cpp: In member function ‘bool<br>
QgsCoordinateReferenceSystem::createFromWkt(const QString&)’:<br>
../src/core/qgscoordinatereferencesystem.cpp:642:5: error: ‘OSRFixup’<br>
was not declared in this scope<br>
     OSRFixup( d->mCRS );<br>
     ^~~~~~~~<br>
../src/core/qgscoordinatereferencesystem.cpp:642:5: note: suggested<br>
alternative: ‘OGRField’<br>
     OSRFixup( d->mCRS );<br>
     ^~~~~~~~<br>
     OGRField<br>
../src/core/qgscoordinatereferencesystem.cpp: In member function ‘void<br>
QgsCoordinateReferenceSystem::setMapUnits()’:<br>
../src/core/qgscoordinatereferencesystem.cpp:1181:3: error: ‘OSRFixup’<br>
was not declared in this scope<br>
   OSRFixup( d->mCRS );<br>
   ^~~~~~~~<br>
../src/core/qgscoordinatereferencesystem.cpp:1181:3: note: suggested<br>
alternative: ‘OGRField’<br>
   OSRFixup( d->mCRS );<br>
   ^~~~~~~~<br>
   OGRField<br>
[363/4155] Building CXX object<br>
src/core/CMakeFiles/qgis_core.dir/qgsdataitem.cpp.o<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Saber Razmjooei<br></div><div><a href="http://www.lutraconsulting.co.uk" target="_blank">www.lutraconsulting.co.uk</a><br><span>+44 (0)7568 129733</span><br></div></div></div></div></div></div></div></div></div></div>