[GRASS-user] Compilation error with i.atcorr
Markus Neteler
neteler at osgeo.org
Sat May 16 12:51:00 EDT 2009
Craig,
On Sat, May 16, 2009 at 11:19 AM, Craig Leat <craig.leat at gmail.com> wrote:
> Hi
>
> I am receiving a compilation error with the i.atcorr module:
>
> /usr/local/src/grass6_devel/imagery/i.atcorr$ make
> Makefile:15: warning: overriding commands for target
> `/usr/local/src/grass6_devel/dist.i686-pc-linux-gnu/bin/i.atcorr'
> ../../include/Make/Module.make:15: warning: ignoring old commands for
> target `/usr/local/src/grass6_devel/dist.i686-pc-linux-gnu/bin/i.atcorr'
> c++ -I/usr/local/src/grass6_devel/dist.i686-pc-linux-gnu/include -g
> -O2 -mtune=native -march=native -DPACKAGE=\""grassmods"\"
> -I/usr/local/src/grass6_devel/dist.i686-pc-linux-gnu/include -o
> OBJ.i686-pc-linux-gnu/main.o -c main.cpp
> main.cpp:181: error: size of array ‘tic’ is too large
the problem is fixed: the recently increased cache did not fit
on 32bit CPUs but only on 64bit. Now it is reduced to
4096 and it compiles again on 32bit, too.
TODO: implement dynamically allocated arrays in the cache.
Best
Markus
More information about the grass-user
mailing list