[GRASS-user] r.terraflow has not compiled

James McManus jmpmcmanus at yahoo.com
Sun Nov 19 07:40:03 EST 2006


Florian Kindl wrote:
> On Sat, 18 Nov 2006, James McManus wrote:
>
>> I want to use r.terraflow. However, it is not being compiled, when I 
>> make grass62. I am compiling with the gcc compiler, so it should 
>> reconize the .cc endings as C++ files. Is there an additional step I 
>> need to take to compile this program, when I make grass?
>>
> Did you run `.configure --with-cxx` ?
>
> \Flo.
>
>> Thanks
>> Jim
>>
>> _______________________________________________
>> grassuser mailing list
>> grassuser at grass.itc.it
>> http://grass.itc.it/mailman/listinfo/grassuser
>>
>>
>
I did not do that. I made the change, and the C++ compiler shows up in 
the configure output:

checking whether to use C++... yes
checking for c++... c++
checking whether the C++ compiler (c++   -Wl,--export-dynamic) works... yes
checking whether the C++ compiler (c++   -Wl,--export-dynamic) is a 
cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes

However when I try and make grass I get a parse error, when trying to 
compile terraflow:

Makefile:78: warning: overriding commands for target `clean'
../../include/Make/Rules.make:34: warning: ignoring old commands for 
target `clean'
mkdir -p OBJ.x86_64-unknown-linux-gnu/FLOAT ; true
mkdir -p OBJ.x86_64-unknown-linux-gnu/SHORT ; true
c++ -c 
-I/usr/local/src/GRASS/grass-6.2.0/dist.x86_64-unknown-linux-gnu/include  
-g -O2   -I./IOStream/include -DUSER=\"jim\" -DNODATA_FIX 
-D_FILE_OFFSET_BITS=64    -DPACKAGE=\""grassmods"\" -DELEV_FLOAT main.cc 
-o OBJ.x86_64-unknown-linux-gnu/FLOAT/main.o
./IOStream/include/replacementHeap.h:120: error: parse error in template 
argument list
./IOStream/include/replacementHeapBlock.h:122: error: parse error in 
template argument list
make: *** [OBJ.x86_64-unknown-linux-gnu/FLOAT/main.o] Error 1





More information about the grass-user mailing list