[Qgis-developer] New GRASS plugin: a test drive

Radim Blazek radim.blazek at gmail.com
Thu Oct 22 02:06:29 PDT 2015


On Wed, Oct 21, 2015 at 8:33 PM, Pedro VenĂ¢ncio
<pedrongvenancio at gmail.com> wrote:
>> It
>> is compiled with LFS, which adds -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 compiler flags. Try to add -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 to QGIS cmake CXX_EXTRA_FLAGS
>
> With this flags it also works without problems!

I added check for _FILE_OFFSET_BITS in Make/Platform.h, now it should
compile correctly without manually setting CXX_EXTRA_FLAGS. Configure
should print:

-- Found GRASS 7: /usr/lib/grass70/ (7.0.2RC1, off_t size = 8)

Radim


More information about the Qgis-developer mailing list