[QGIS-Developer] Error during compilation
matteo
matteo.ghetta at gmail.com
Wed Mar 28 04:37:00 PDT 2018
Hi devs,
I get this error during the compilation.. any suggestion?
CMakeFiles/qgis_core.dir/qgsogrutils.cpp.o: In function
`QgsOgrUtils::getOgrFeatureAttribute(void*, QgsFields const&, int,
QTextCodec*, bool*)':
qgsogrutils.cpp:(.text+0x724): undefined reference to
`OGR_F_IsFieldSetAndNotNull'
CMakeFiles/qgis_core.dir/qgsvectorfilewriter.cpp.o: In function
`QgsVectorFileWriter::createFeature(QgsFeature const&)':
qgsvectorfilewriter.cpp:(.text+0x5149): undefined reference to
`OGR_F_SetFieldNull'
collect2: error: ld returned 1 exit status
src/core/CMakeFiles/qgis_core.dir/build.make:17452: recipe for target
'output/lib/libqgis_core.so.3.1.0' failed
make[2]: *** [output/lib/libqgis_core.so.3.1.0] Error 1
CMakeFiles/Makefile2:1243: recipe for target
'src/core/CMakeFiles/qgis_core.dir/all' failed
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
Thanks
Matteo
More information about the QGIS-Developer
mailing list