[GRASS-dev] gis.m patch

Glynn Clements glynn at gclements.plus.com
Mon Sep 4 23:00:30 EDT 2006


Huidae Cho wrote:

> > > Note that NVIZ does work natively under Windows (using MinGW/MSys);
> > > the only problem I ran into was that you need to redirect NVIZ' stdin
> > > from /dev/null otherwise "exec" hangs (redirect stdin within the exec
> > > command doesn't work).
> > 
> > OK, I'll try.
> 
> How did you compile nviz without the lib/form library?  The library
> cannot be built currently because it requires fork().  Maybe, I'm
> missing something?

I built with static libraries. NVIZ requires F_generate, from
lib/form/generate.c, but doesn't require anything from
lib/form/open.c, so open.o from libgrass_form won't get linked.

To get shared libraries to work, you'll need to conditionalise the
fork() in F_open().

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




More information about the grass-dev mailing list