[GRASS-user] i.pr compile problem
neteler at itc.it
Thu May 31 19:52:50 EDT 2007
i.pr is now in the GRASS Addons SVN. Please submit your fixes there.
To compile, the easiest is to put it into GRASS under imagery/, otherwise
you would have to change all paths in all i.pr Makefiles (MODULE_TOPDIR =
Martin Wegmann wrote:
> as Markus pointed out in the bug/wish tracker, i.pr is capable of doing
> classification, however I fail compiling it:
> so far I modified all make files to:
> e.g. i.pr_blob:
> MODULE_TOPDIR = ../..
> PRINCLUDE = ../include/
> EXTRA_CFLAGS = -I$(PRINCLUDE)
> PRLIB = -lgrass_pr
> PGM = i.pr_blob
> LIBES = $(SITESLIB) $(PRLIB) $(IMAGERYLIB) $(D_LIB) $(DISPLAYLIB)
> $(RASTERLIB) $(GISLIB) $(DATETIMELIB)
> DEPENDENCIES= $(SITESDEP) $(PRDEP) $(IMAGERYDEP) $(D_DEP) $(DISPLAYDEP)
> $(RASTERDEP) $(GISDEP) $(DATETIMEDEP)
> include $(MODULE_TOPDIR)/include/Make/Module.make
> default: cmd
> (now it is more or less the same as in i.cluster)
> but when doing make I get:
> Makefile:13: ../../include/Make/Module.make: Datei oder Verzeichnis nicht
> gefunden (Did not find file or folder)
> make: *** Keine Regel, um »../../include/Make/Module.make« zu
> Schluss. (No rule found to create ... END)
> make: Leaving directory
> So far is seems to me that ../../include/Make/Module.make is the problem,
> I compared it to other i.* commands and for me they look the same. Might
> be, that i.pr consists of subfolders?
> any idea which file I have to change?
> TIA, Martin
View this message in context: http://www.nabble.com/i.pr-compile-problem-tf3841479.html#a10904248
Sent from the Grass - Users mailing list archive at Nabble.com.
More information about the grass-user