[GRASS-dev] Programming in GRASS

Glynn Clements glynn at gclements.plus.com
Sat Apr 11 08:34:47 EDT 2009


dasuni kannangara wrote:

> thanx. but grass/gis.h is already there. i just added another grass
> folder to ximgview to check whether it solves.what is the location
> which i should search for grass/gis.h??

The "headers" target in lib/Makefile installs the headers from the
include directory into dist.<arch>/include/grass. This is done before
any source files are compiled.

The GRASS source tree has many ordering requirements, e.g. the lib
directory must be built before any modules, the libraries must be
built in a fixed order, the "headers" target must be made before
starting to build any of the libraries, etc.

If you want to use an IDE, you are going to have to replicate all of
these dependencies as part of the project.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list