[Qgis-developer] GRASS7 build error

Salvatore Larosa lrssvtml at gmail.com
Sun Oct 18 07:21:47 PDT 2015


Thanks.

On Sun, Oct 18, 2015 at 2:40 PM, Radim Blazek <radim.blazek at gmail.com> wrote:
> In fact, quite stupid bug, fixed.
>
> Radim
>
> On Sun, Oct 18, 2015 at 1:09 PM, Pedro VenĂ¢ncio
> <pedrongvenancio at gmail.com> wrote:
>> Hi,
>>
>> I also confirm this behavior. If I have GRASS_PREFIX and GRASS6 and GRASS7
>> both on, the compilation goes well.
>>
>> If I put just GRASS7 on, I get:
>>
>> [ 62%] Building CXX object
>> src/gui/CMakeFiles/qgis_gui.dir/layertree/moc_qgslayertreeview.cxx.o
>> [ 62%] Building CXX object
>> src/gui/CMakeFiles/qgis_gui.dir/layertree/moc_qgslayertreeviewdefaultactions.cxx.o
>> [ 62%] Building CXX object
>> src/gui/CMakeFiles/qgis_gui.dir/editorwidgets/moc_qgswebviewconfigdlg.cxx.o
>> [ 62%] Building CXX object
>> src/gui/CMakeFiles/qgis_gui.dir/editorwidgets/moc_qgswebviewwidgetwrapper.cxx.o
>> Linking CXX shared library ../../output/lib/libqgis_gui.so
>> [ 62%] Built target qgis_gui
>> make: ** [all] Erro 2
>>
>>
>> But if I put only GRASS6 on, it also compiles well.
>>
>> So, it seems that there is something with the GRASS7, which also requires
>> GRASS6.
>>
>>
>> Pedro
>>
>>
>> 2015-10-17 12:30 GMT+01:00 Paulo van Breugel <p.vanbreugel at gmail.com>:
>>>
>>>
>>>
>>> On 17-10-15 13:00, Radim Blazek wrote:
>>>>
>>>> If you have GRASS 7 installed and you want to compile GRASS 7
>>>> provider/plugin, use WITH_GRASS7=ON, otherwise OFF.
>>>> If GRASS 7 is not found automatically, specify also  GRASS_PREFIX7 and
>>>>   GRASS_INCLUDE_DIR7.
>>>
>>>
>>> Hi Radim, thanks for the feedback. I have installed (compiled from source)
>>> GRASS7. I used the option WITH_GRASS7=ON (I also always specify
>>> GRASS_PREFIX7 and GRASS_INCLUDE_DIR7). But that results in the compilation
>>> to fail. If however I use WITH_GRASS=ON and WITH_GRASS7, I can build QGIS
>>> with the GRASS7 plugin. I thought it strange one also need to set
>>> WITH_GRASS=ON, and from your reaction I get that it shouldn't be required? I
>>> had seen a similar message on the email list, but can't find it right now.
>>> But it means I am (probably) not the only one experiencing this.
>>>
>>>
>>>>
>>>> Radim
>>>>
>>>> On Sat, Oct 17, 2015 at 9:58 AM, Salvatore Larosa <lrssvtml at gmail.com>
>>>> wrote:
>>>>>
>>>>> Hi Radim,
>>>>>
>>>>> On Wed, Oct 14, 2015 at 11:08 PM, Salvatore Larosa <lrssvtml at gmail.com>
>>>>> wrote:
>>>>>>
>>>>>> Hi all,  (Radim)
>>>>>>
>>>>>> I am getting the following error on building:
>>>>>> http://codepad.org/ZZiB2R63
>>>>>> Is this related to a local problem?
>>>>>>
>>>>>> Anyone confirms?
>>>>>
>>>>> I don't know if this mail was notified to you, but I am noticing a
>>>>> strange issue compiling qgis with grass support.
>>>>>
>>>>> If I use only -DWITH_GRASS7=ON I get a build error (as from codepad
>>>>> link in the previous mail) while adding -DWITH_GRASS=ON
>>>>> I can build just fine.
>>>>>
>>>>> is this the expected behaviour?
>>>>> is it necessary to have both grass versions?
>>>>>
>>>>> Thanks,
>>>>> -SL
>>>>>
>>>>>
>>>>> --
>>>>> Salvatore Larosa
>>>>> linkedIn: http://linkedin.com/in/larosasalvatore
>>>>> twitter: @lrssvt
>>>>> skype: s.larosa
>>>>> IRC: lrssvt on freenode
>>>>
>>>> _______________________________________________
>>>> Qgis-developer mailing list
>>>> Qgis-developer at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>



-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode


More information about the Qgis-developer mailing list