* Installing to library '/home/hornik/tmp/R.check/r-release/Work/build/Packages'
* Installing *source* package 'knnFinder' ...
** libs
g++ -I/home/hornik/tmp/R.check/r-release/Work/build/include -I/usr/local/include -fpic -g -O2 -c ANN.cc -o ANN.o
In file included from ANN.cc:24:
ANNx.h:34:43: error: iomanip.h: No such file or directory
In file included from ANNx.h:35,
from ANN.cc:24:
ANN.h:57:39: error: iostream.h: No such file or directory
In file included from ANNx.h:35,
from ANN.cc:24:
ANN.h:495: error: ‘ostream’ has not been declared
ANN.h:499: error: ‘ostream’ has not been declared
In file included from ANN.cc:24:
ANNx.h:83: error: ‘ostream’ has not been declared
ANN.cc:61: error: ‘ostream’ has not been declared
ANN.cc: In function ‘void annPrintPt(ANNcoord*, int, int&)’:
ANN.cc:64: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator<<’
ANN.cc:65: error: invalid operands of types ‘int’ and ‘const char [2]’ to binary ‘operator<<’
ANN.cc: In function ‘void annError(char*, ANNerr)’:
ANN.cc:160: error: ‘cerr’ was not declared in this scope
ANN.cc:164: error: ‘cerr’ was not declared in this scope
make: *** [ANN.o] Error 1
ERROR: compilation failed for package 'knnFinder'
** Removing '/srv/home/hornik/tmp/R.check/r-release/Work/build/Packages/knnFinder'