[GRASS-dev] [GRASS GIS] #3603: Trunk does not compile on Mac
GRASS GIS
trac at osgeo.org
Mon Jul 9 12:13:54 PDT 2018
#3603: Trunk does not compile on Mac
--------------------------+-------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone:
Component: Default | Version: svn-trunk
Resolution: | Keywords: calc, nviz
CPU: Unspecified | Platform: MacOSX
--------------------------+-------------------------
Comment (by mmetz):
Replying to [comment:4 cmbarton]:
> Replying to [comment:2 mmetz]:
> > Replying to [ticket:3603 cmbarton]:
> > > I have not been able to compile GRASS trunk since last week. I did a
fresh checkout this morning to try it again with r72966. There are errors
in:
> > >
> > > /lib/nviz (new this morning)
> > > /lib/calc (as was the case last week)
> >
> > do you have
> >
> > {{{
> > extern func_t f_ceil;
> > extern func_t f_floor;
> > }}}
> >
> > in
> >
> > Applications/GRASS-7.5.app/Contents/Resources/include/defs/calc.h
> >
> > and also in
> >
> > Users/cmbarton/grass_source/trunk/dist.x86_64-apple-
darwin17.6.0/include/grass/defs/calc.h
> >
> > ?
> >
>
>
> Yes to both questions
This is not possible. The error message suggests:
{{{
/Applications/GRASS-7.5.app/Contents/Resources/include/grass/defs/calc.h:63:15:
note: 'f_float' declared here
extern func_t f_float;
}}}
but f_float is now in line 65, two lines further down, because the two new
functions f_ceil and f_floor have been added. That means
{{{
/Applications/GRASS-7.5.app/Contents/Resources/include/grass/defs/calc.h
}}}
is not up to date.
Why is
{{{
Applications/GRASS-7.5.app/Contents/Resources/include
}}}
included at all? The location of GRASS includes at compile time should be
{{{
Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include
}}}
without alternative locations.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3603#comment:6>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list