[GRASS-dev] Re: [GRASS GIS] #57: v.digit compilation failure [also
seems to affect v.edit]
GRASS GIS
trac at osgeo.org
Sat Feb 23 14:33:33 EST 2008
#57: v.digit compilation failure [also seems to affect v.edit]
---------------------+------------------------------------------------------
Reporter: glynn | Owner: martinl
Type: defect | Status: assigned
Priority: major | Milestone: 6.3.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: v.digit v.edit
---------------------+------------------------------------------------------
Changes (by martinl):
* status: new => assigned
* owner: grass-dev at lists.osgeo.org => martinl
* cc: grass-dev at lists.osgeo.org (added)
Comment:
Replying to [comment:2 glynn]:
> If the header is to be public, e.g. because third-party modules may wish
to use vedit.h, it should be installed into $(ARCH_INCDIR) by
lib/vector/vedit/Makefile. See e.g. lib/rst/qtree/Makefile for an example.
The header should then be referenced as <grass/vedit.h>.
>
> If the header (and thus the library) is for internal use only, then
leave it where it is and add e.g.:
>
> EXTRA_CFLAGS = -I../../../lib/vector/vedit
>
> to the Makefile for any module which uses it. The header should be
referenced as just <vedit.h>.
I changed the header to be public (it could be also used by QGIS vdigit
port, etc.). I moved vedit.h to 'include' directory. If this solution is
reasonable I will backported the changes to branch for 6.3.
Martin
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/57#comment:4>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
More information about the grass-dev
mailing list