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 <[email protected]> wrote:
Hi Radim,

On Wed, Oct 14, 2015 at 11:08 PM, Salvatore Larosa <[email protected]> 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
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to