[Qgis-developer] Compiling QGIS with GRASS Plugin

Radim Blazek radim.blazek at gmail.com
Mon Feb 29 00:21:35 PST 2016


On Sat, Feb 27, 2016 at 9:09 AM, m roy <royroge at outlook.com> wrote:
> I recompiled QGIS using ccmake but the problem remains,
> QGIS starts but fails to recognize GRASS Plugin which is
> not available in the installed plugins list ...

If the lib, provider and plugin are really compiled
(lib/libqgisgrass7.so, lib/qgis/plugins/libgrassprovider7.so,
libgrassrasterprovider7.so, libgrassplugin7.so) try to add path to
GRASS libs dir (containing libgrass_gis.so etc.) to LD_LIBRARY_PATH.
If it is already there or it does not help, find why it fails in "Log
Messages Panel > Plugins". It should print something like:

"Failed to load libgrassprovider7.so (Reason: Cannot load library
libgrassprovider7.so: (libgrass_vector.so: cannot open shared object
file: No such file or directory))"

Radim

> any other idea?
>
>
> Il 26/02/2016 18:01, Marco Bernasocchi ha scritto:
>
> Nope just pass -DWITH_GRASS=ON to cmake.
> Ccmake is a great way to see what switches you can use.
>
> Ciao
>
> On 26 February 2016 17:48:05 CET, m roy <royroge at outlook.com> wrote:
>>
>> Ciao Marco,
>>
>> is it mandatory to use ccmake? because i compiled with "regular"
>>
>> cmake, make, make install ...
>>
>> Il 26/02/2016 17:44, Marco Bernasocchi ha scritto:
>>
>> In ccmake there with_grass iirc
>> Ciao
>>
>> On 26 February 2016 17:32:37 CET, m roy <royroge at outlook.com> wrote:
>>>
>>> Hi,
>>>
>>> i'm learning to compile QGIS in Ubuntu 14.04,
>>> managed to compile QGIS 2.14 and installed
>>> in a custom dir with make install,
>>>
>>> with:
>>>
>>> export LD_LIBRARY_PATH
>>>
>>> QGIS starts (by the way the 2.14 splash screen image is HUGE :))
>>>
>>> with some warnings and one error:
>>>
>>> ERROR 4: `/initrd.img' not recognised as a supported file format.
>>>
>>> but it seems to work, anyway i cannot find the GRASS Plugin, is there
>>> some other variable to set so that QGIS can see it ?
>>> libgrass*7.so are present in the lib/qgis/plugins/ directory so i do not
>>> think there is a compile issue (?)
>>>
>>>
>>> thanks ! Roy.
>>> ________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>> -- Marco Bernasocchi (mobile). OPENGIS.ch - berna.io - 27summits.ch
>>
>> ________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> -- Marco Bernasocchi (mobile). OPENGIS.ch - berna.io - 27summits.ch
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list