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

Andreas Jochem andruit at gmx.de
Mon Feb 9 02:30:00 EST 2009


Thanks a lot....it works

Andi



Hamish wrote:
> 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