[Shapelib] Re: how to compile the shapelib into a shared library
Frank Warmerdam
warmerdam at pobox.com
Wed Sep 21 12:11:02 PDT 2005
On 9/21/05, Qingfeng (Gene) Guan <guan at geog.ucsb.edu> wrote:
> Hi, Frank,
> I just downloaded the shapelib and tried to compile it into a shared library on a Linux beowulf cluster. Since I am not a superuser, I wonder if there is any way to compile it and use it by myself.
>
Gene,
Yes, it is really just two source files of interest. So you can
build a program and link in the supporting files as easily as:
gcc dbfcreate shpopen.c dbfopen.c -lm -o dbfcreate
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Shapelib
mailing list