[Shapelib] Troubles building "contrib" folder tools

Frank Warmerdam fwarmerdam at gmail.com
Wed Aug 24 16:22:19 PDT 2005


On 8/24/05, Eduardo Patto Kanegae <lists at webmapit.com.br> wrote:
> Hi,
> 
> I'm on Linux Fedora Core 4 and building shapelib 1.2.10.
> 
>  From the main shapelib source folder is fine! make all , make shputils
> , make lib and make lib_install was nice!
> 
> but when trying to build using "make all" at the /contrib/ folder, I got
> the error:
> 
> "shpgeo.c:546: error: invalid lvalue in assignment" - see full output
> building right at the end of this mail!
> 
> I went to this line and it's :
> ........
> (SHPObject*) ppsC[cParts] = SHPUnCompound ( psCShape, &nextring );

Eduardo,

Try changing the line to:

  ppsC[cParts] = SHPUnCompound ( psCShape, &nextring );

See if that works better.

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