[GRASS5] Re: [GRASSLIST:2373] Re:Re: grass57 compilation error

Paul Kelly paul-grass at stjohnspoint.co.uk
Thu Jan 29 06:26:01 EST 2004


On Thu, 29 Jan 2004, Hamish wrote:

> by the way, does it *really* only compile with gcc/g++? What's the
> problem exactly?

See http://grass.itc.it/pipermail/grass5/2003-February/007312.html for
ther errors when I tried the original version in GRASS with IRIX 6.2 CC
(C++ compiler).

Now it is much simpler:
(compiling with gmake53 because r.terraflow doesn't work with the new
build system)

  SRC     = /indigo-disk2/grass/grass/src
  CMD     = /indigo-disk2/grass/grass/src/CMD
  UNUSED  = /indigo-disk2/grass/grass/unused
  HEADER  = head.mips-sgi-irix6.2
  ARCH    = mips-sgi-irix6.2
  GISBASE = /indigo-disk2/grass/grass/dist.mips-sgi-irix6.2
  VERSION = 5.3-cvs 2003
#################################################################
/indigo-disk2/grass/grass/src.contrib/DUKE/r.terraflow
  make -f OBJ.mips-sgi-irix6.2/make.rules

mkdir OBJ.mips-sgi-irix6.2/FLOAT ; true
mkdir: cannot create directory `OBJ.mips-sgi-irix6.2/FLOAT': File exists
mkdir OBJ.mips-sgi-irix6.2/SHORT ; true
mkdir: cannot create directory `OBJ.mips-sgi-irix6.2/SHORT': File exists
CC -c -I/indigo-disk2/grass/grass/src/include -I/usr/local/include -g  -I/usr/local/include   -I./IOStream/include -DUSER=\"paulk\" -DNODATA_FIX -D_FILE_OFFSET_BITS=64 -DELEV_FLOAT main.cc -o OBJ.mips-sgi-irix6.2/FLOAT/main.o
"common.h", line 46: error(4003): could not open source file "iostream"
  #include <iostream>
                     ^

1 catastrophic error detected in the compilation of "main.cc".
Compilation terminated.
make: *** [OBJ.mips-sgi-irix6.2/FLOAT/main.o] Error 1




More information about the grass-dev mailing list