[GRASS-dev] build rtree from polygons...how?

Hamish hamish_b at yahoo.com
Sun Feb 8 17:35:04 EST 2009


Andreas Jochem wrote:
> I was trying to compile the test.c file in lib/vector/rtree
>  directory but I always get some error messages.
> 
> /usr/local/src/grass-6.3.0/lib/vector/rtree/test.c:49:
> undefined reference to `RTreeNewIndex'
> /usr/local/src/grass-6.3.0/lib/vector/rtree/test.c:63:
> undefined reference to `RTreeInsertRect'
> /usr/local/src/grass-6.3.0/lib/vector/rtree/test.c:64:
> undefined reference to `RTreeSearch'
> 
> These functions can not be found....
> 
> Can any body solve this problem?


cd lib/vector/rtree
make OBJ.i686-pc-linux-gnu/test    # (adjust for your platform)


and it should work. (I don't know why the Makefile target is not just
called "test")


Hamish



      



More information about the grass-dev mailing list