[Qgis-developer] Build error (local issue)

Matthias Kuhn matthias at opengis.ch
Sun Feb 28 13:08:35 PST 2016


Yves,

Integer64 attribute support was added to GDAL with version 2.0 and QGIS
only uses it with GDAL >= 2.0. It seems you were using a (development)
version that pretends to be >=2.0 but does not yet include Integer64
attribute support.
Solution: downgrade or upgrade to a stable GDAL release.

Matthias

On 02/28/2016 08:46 PM, Yves Jacolin wrote:
> $ gdalinfo --version
> GDAL 2.0.0dev, released 2014/04/16
>
> This is too recent?
>
> I have probably an official gdal package installed also :/
>
> Y.
> Le dimanche 28 février 2016, 20:23:26 Matthias Kuhn a écrit :
>> Hi Yves,
>>
>> Which GDAL version is installed?
>>
>> Matthias
>>
>> On 02/28/2016 06:56 PM, Yves Jacolin wrote:
>>> Hello,
>>>
>>> From several weeks/monthes I get this error when building QGIS in my home
>>> computer:
>>>
>>> [ 11%] Building CXX object
>>> src/core/CMakeFiles/qgis_core.dir/qgsvectorfilewriter.cpp.o
>>> /usr/local/src/QGIS/src/core/qgsvectorfilewriter.cpp: In member function
>>> ‘void* QgsVectorFileWriter::createFeature(QgsFeature&)’:
>>> /usr/local/src/QGIS/src/core/qgsvectorfilewriter.cpp:1778:78: error:
>>> ‘OGR_F_SetFieldInteger64’ was not declared in this scope
>>>
>>>          OGR_F_SetFieldInteger64( poFeature, ogrField,
>>>          attrValue.toLongLong()
>>>
>>> );
>>>
>>>                                                                               
> ^
>>> make[2]: *** [src/core/CMakeFiles/qgis_core.dir/qgsvectorfilewriter.cpp.o]
>>> Erreur 1
>>> make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Erreur 2
>>> make: *** [all] Erreur 2
>>>
>>> Do you have any idea on this?
>>>
>>> Thanks,
>>>
>>> Y.

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160228/7711bc69/attachment.sig>


More information about the Qgis-developer mailing list