[Mapserver-dev] Fwd: nightly CVS 4/12: shptreevis.c build fails

Steve Lime steve.lime at dnr.state.mn.us
Tue Apr 13 16:22:02 EDT 2004


you can remove the maptree.h and mapshape.h includes too, since map.h
already references them

>>> Daniel Morissette <dmorissette at dmsolutions.ca> 4/13/2004 3:18:17 PM
>>>
Steve Lime wrote:
> 
>>>>William K <woklist at charter.net> 4/13/2004 10:10:25 AM >>>
> 
> the problem lies in mapshape.h and maptree.h, and causes shapetreevis

> to fail to build.  It seems that MS_DLL_EXPORT was added to all the 
> function prototypes in these two headers.  Yet shapetreevis.c
includes
> 
> those headers directly so MS_DLL_EXPORT never gets defined.
> 
> I don't know the correct way to fix this, but adding the
MS_DLL_EXPORT
> 
> definition lines from map.h to mapshape.h did it for me, and didn't 
> break anything else.  Maybe shapetreevis.c should include map.h 
> instead?
> 

I have added a #include "map.h" to shptreevis.c and shptreetst.c in
CVS.

Things build fine for me on Linux now.  Please let us know if there are

still problems for you.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca 
  DM Solutions Group              http://www.dmsolutions.ca/ 
------------------------------------------------------------

_______________________________________________
Mapserver-dev mailing list
Mapserver-dev at lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list