[GRASS-user] Building wxgrass vdigit
Glynn Clements
glynn at gclements.plus.com
Wed Jan 30 09:28:01 EST 2008
Craig Leat wrote:
> Thanks for the pointer, but unfortunately I'm still having trouble. I
> first tried to add vdigit to an existing installation of RC3 without
> success. I then downloaded, configured and built trunk and the build
> completed without reporting any errors. I noticed that vdigit was not
> built along with the other modules, although a
> /grass-trunk/gui/wxpython/vdigit/Makefile was generated. This concerns
> me. Can anyone explain what's happening here?
>
> Anyway, I then proceeded to try building vdigit after performing steps
> 1.1, 1.2 and 7.1 described in the wxpython README. The build failed with
> errors as below:
>
> GRASS 6.3.svn
> (msunduzi_lo31):/usr/local/src/grass_trunk_28012008/gui/wxpython > cd $GISBASE/etc/wx/vdigit
> GRASS 6.3.svn (msunduzi_lo31):/usr/local/grass-6.3SVN/etc/wx/vdigit > make
> grass6_wxvdigit_wrap.cxx:2577:23: error: grass/gis.h: No such file or directory
You need to do at least "make -C lib headers" before trying to build
anything else. Also, I suspect that it will expect to find the GRASS
libraries in the build tree (in dist.<arch>/lib), so you will probably
need at least "make -C lib".
Personally, I would recommend just building the whole of GRASS, by
running "make" from the top-level directory. Building individual
components requires some knowledge of which parts depend upon which
other parts, and acquiring this knowledge is likely to take somewhat
longer than just building everything.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list