Hi,
         I tried to rebuild qgis-0.11.0 with the following commands

ccmake CMakeLists.txt

and set the following options

GRASS_PREFIX=/Applications/GRASS/GRASS-6.4.app
GRASS_INCLUDE_DIR=/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/ include
WITH_GRASS=ON

But still qgis doesnt detect the gdal-grass plugin. What should I do?

Best regards,

Elvis

On Sep 22, 2008, at 1:28 PM, Elvis Dowson wrote:

Hi,
I found out that you have to first build gdal without grass support, then build grass, and then download the gdal-grass plugin and try to build it with grass.

This is outlined here: http://trac.osgeo.org/gdal/wiki/GRASS

I then type the following configure command

./configure --with-gdal=/usr/local/bin/gdal-config --with-grass=/ Applications/GRASS/GRASS-6.4.app/Contents/MacOS

And then it configures correctly!! :-)

Note that the libraries are located in /Applications/GRASS/ GRASS-6.4.app/Contents/MacOS/lib but you should just specify Applications/GRASS/GRASS-6.4.app/Contents/MacOS (i.e. do not explicitly specify the lib directory).


Best regards,

Elvis Dowson

On Sep 22, 2008, at 12:16 PM, Elvis Dowson wrote:

Hi,
I cannot seem to find the grass-6.4.0 plugin in qgis-0.11.0 plugin preferences.

Could you tell me where it is normally built and if I have to copy the grass-6.4.0 plugin into the qgis-0.11.0 plugin directory?

Also, which compilation step builds the plugin? The grass-6.4.0 or the qgis-0.11.0 one?

Best regards,

Elvis Dowson


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to