Hi, I am trying to compile grass 7.0 (revision 55463). I am getting a lot of errors, with the first folder with error the ‘lib/raster3d’
Going there and running make gives me the following:
gcc -g -O2 -fPIC -I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -D_FILE_OFFSET_BITS=64 -DPACKAGE="“grasslibs”" -I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/changeprecision.o -c changeprecision.c
changeprecision.c: In function ‘Rast3d_change_precision’:
changeprecision.c:35:5: error: too few arguments to function ‘Rast3d_get_compression_mode’
In file included from /home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:82:6: note: declared here
changeprecision.c:36:5: error: too few arguments to function ‘Rast3d_set_compression_mode’
In file included from /home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:81:6: note: declared here
changeprecision.c:50:5: error: too few arguments to function ‘Rast3d_set_compression_mode’
In file included from /home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:81:6: note: declared here
make: *** [OBJ.x86_64-unknown-linux-gnu/changeprecision.o] Error 1
2013/3/20 Paulo van Breugel <p.vanbreugel@gmail.com>:
Hi, I am trying to compile grass 7.0 (revision 55463). I am getting a lot of
errors, with the first folder with error the 'lib/raster3d'
Going there and running make gives me the following:
gcc -g -O2 -fPIC
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grasslibs"\"
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-o OBJ.x86_64-unknown-linux-gnu/changeprecision.o -c changeprecision.c
changeprecision.c: In function ‘Rast3d_change_precision’:
changeprecision.c:35:5: error: too few arguments to function
‘Rast3d_get_compression_mode’
In file included from
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:82:6:
note: declared here
changeprecision.c:36:5: error: too few arguments to function
‘Rast3d_set_compression_mode’
In file included from
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:81:6:
note: declared here
changeprecision.c:50:5: error: too few arguments to function
‘Rast3d_set_compression_mode’
In file included from
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:81:6:
note: declared here
make: *** [OBJ.x86_64-unknown-linux-gnu/changeprecision.o] Error 1
Hi,
sorry, that was my fault. I have committed the correct 3D raster
library header files. Revision 55464 should work now.
Best regards
Soeren
2013/3/20 Paulo van Breugel <p.vanbreugel@gmail.com>:
Hi, I am trying to compile grass 7.0 (revision 55463). I am getting a lot of
errors, with the first folder with error the 'lib/raster3d'
Going there and running make gives me the following:
gcc -g -O2 -fPIC
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grasslibs"\"
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-o OBJ.x86_64-unknown-linux-gnu/changeprecision.o -c changeprecision.c
changeprecision.c: In function ‘Rast3d_change_precision’:
changeprecision.c:35:5: error: too few arguments to function
‘Rast3d_get_compression_mode’
In file included from
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:82:6:
note: declared here
changeprecision.c:36:5: error: too few arguments to function
‘Rast3d_set_compression_mode’
In file included from
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:81:6:
note: declared here
changeprecision.c:50:5: error: too few arguments to function
‘Rast3d_set_compression_mode’
In file included from
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:81:6:
note: declared here
make: *** [OBJ.x86_64-unknown-linux-gnu/changeprecision.o] Error 1
Hi, I am trying to compile grass 7.0 (revision 55463). I am getting a lot of
errors, with the first folder with error the ‘lib/raster3d’
Going there and running make gives me the following:
gcc -g -O2 -fPIC
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-D_FILE_OFFSET_BITS=64 -DPACKAGE="“grasslibs”"
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-o OBJ.x86_64-unknown-linux-gnu/changeprecision.o -c changeprecision.c
changeprecision.c: In function ‘Rast3d_change_precision’:
changeprecision.c:35:5: error: too few arguments to function
‘Rast3d_get_compression_mode’
In file included from
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:82:6:
note: declared here
changeprecision.c:36:5: error: too few arguments to function
‘Rast3d_set_compression_mode’
In file included from
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:81:6:
note: declared here
changeprecision.c:50:5: error: too few arguments to function
‘Rast3d_set_compression_mode’
In file included from
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:81:6:
note: declared here
make: *** [OBJ.x86_64-unknown-linux-gnu/changeprecision.o] Error 1