[Shapelib] shapelib in C

Frank Warmerdam fwarmerdam at gmail.com
Thu Dec 9 13:34:02 EST 2004


On Thu, 9 Dec 2004 14:51:39 -0200, Rafael Sussel
<rafaelsussel at engemap.com.br> wrote:
> I only want the coordinates same.  I am having problems for compile I do not
> know it if he is of this form?
>   gcc -o shpdump shpdump.c
> but it generates some errors
> Example
> undefined reference to `SHPDestroyObject'

Rafael, 

If you use the makefile on unix it would be:

 make shpdump

or by hand:

 gcc -o shpdump shpdump.c shpopen.c dbfopen.c -lm

There aren't many applications in the worth that easy to build!

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