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

Daniel Morissette dmorissette at dmsolutions.ca
Tue Apr 13 16:18:17 EDT 2004


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/
------------------------------------------------------------




More information about the mapserver-dev mailing list