[GRASS-dev] imagery Makefile changes for MS Windows

Re: [GRASS-user] WinGRASS-6.3.0RC5 Self Installer + wxPython-Gui

Helmut Kudrnovsky wrote:

GRASS GIS compilation log
-------------------------
Started compilation: Mon Mar 17 22:33:14 GMT 2008
--
Errors in:
/local/src/grasssvntrunk/imagery/i.class
/local/src/grasssvntrunk/imagery/i.ortho.photo/photo.2image
/local/src/grasssvntrunk/imagery/i.ortho.photo/photo.2target
/local/src/grasssvntrunk/imagery/i.ortho.photo/photo.rectify
/local/src/grasssvntrunk/imagery/i.points
/local/src/grasssvntrunk/imagery/i.vpoints
/local/src/grasssvntrunk/raster/r.li/[...]

as i.points et al. will never work without interactive X monitors, how
about the attached patch?

I do not know the correct thing to test for. I saw MINGW in Platform.make
and used that, but would it be better to test if USE_X11 != 1 ?

Presumably the r.li errors could be fixed to work on Windows, like
r.terraflow has, so leave them complaining.

Hamish

(attachments)

imagery_Makefile.diff (872 Bytes)