[QGIS-Developer] QGIS 3 and proj.5

Paolo Cavallini cavallini at faunalia.it
Tue Mar 6 05:13:48 PST 2018


Removing the entire build directory solved this.
rm only the output dir does not
sorry for the noise.
===
Hi all,
is QGIS 3 supposed to be compatible with proj 5? I get an error
compiling[0].
Thanks for any hint.
===
[0]
[ 68%] Building CXX object src/app/CMakeFiles/qgis_app.dir/qgisapp.cpp.o
/usr/local/src/qgis/QGIS/src/app/qgisapp.cpp: In member function ‘void
QgisApp::about()’:
/usr/local/src/qgis/QGIS/src/app/qgisapp.cpp:4127:5: error: ‘PJ_INFO’
was not declared in this scope
     PJ_INFO info = proj_info();
     ^~~~~~~
/usr/local/src/qgis/QGIS/src/app/qgisapp.cpp:4129:76: error: ‘info’ was
not declared in this scope
     versionString += "<td>" + tr( "Running against PROJ" ) +
"</td><td>" + info.version + "</td>";

   ^~~~
/usr/local/src/qgis/QGIS/src/app/qgisapp.cpp:4129:76: note: suggested
alternative: ‘dlinfo’
     versionString += "<td>" + tr( "Running against PROJ" ) +
"</td><td>" + info.version + "</td>";

   ^~~~

   dlinfo
make[2]: *** [src/app/CMakeFiles/qgis_app.dir/build.make:839:
src/app/CMakeFiles/qgis_app.dir/qgisapp.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2939:
src/app/CMakeFiles/qgis_app.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the QGIS-Developer mailing list