[GRASS-dev] Re: [GRASS GIS] #57: v.digit compilation failure [also seems to affect v.edit]

GRASS GIS trac at osgeo.org
Fri Feb 22 22:48:54 EST 2008


#57: v.digit compilation failure [also seems to affect v.edit]
---------------------+------------------------------------------------------
  Reporter:  glynn   |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect  |      Status:  new                      
  Priority:  major   |   Milestone:  6.3.0                    
 Component:  Python  |     Version:  svn-trunk                
Resolution:          |    Keywords:  v.digit v.edit           
---------------------+------------------------------------------------------
Comment (by glynn):

 Replying to [comment:1 dylan]:
 > Is there anyway to specify the direct path to vedit.h now that it lives
 in /lib/vector/vedit.h ? Not sure if this is a robust approach, but it
 compiles. See attached file

 There are two choices:

 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>.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/57#comment:2>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list