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

Yewondwossen Assefa assefa at dmsolutions.ca
Tue Apr 13 16:26:18 EDT 2004


Sorry about that. I never build the shapetreevis on windows so I did not 
  see the problem. I am trying it right now with the map.h included in 
shapetreevis.c. I will also update the windows makefile to include it in 
the build.

Later,

Steve Lime wrote:

> More info from William...
> 
> 
>>>>William K <woklist at charter.net> 4/13/2004 10:16:27 AM >>>
> 
> Sorry, forgot:
> 
> Mac OS X 10.3.3.  GCC 3.3.  Mapserver CVS 2004-4-13 (I said 4-12 since
> 
> that's when the mapshape.h and maptree.h were last changed).
> 
> On Apr 13, 2004, at 10:10 AM, William K wrote:
> 
> 
>>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?
>>
>>-----
>>William Kyngesburye <kyngchaos at charter.net>
>>http://webpages.charter.net/kyngchaos/ 
>>
>>[Trillian]  What are you supposed to do WITH a maniacally depressed 
>>robot?
>>
>>[Marvin]  You think you have problems?  What are you supposed to do
> 
> if 
> 
>>you ARE a maniacally depressed robot?  No, don't try and answer, I'm
> 
> 
>>50,000 times more intelligent than you and even I don't know the 
>>answer...
>>
>>- HitchHiker's Guide to the Galaxy
>>
>>
> 
> -----
> William Kyngesburye <kyngchaos at charter.net>
> http://webpages.charter.net/kyngchaos/ 
> 
> "History is an illusion caused by the passage of time, and time is an 
> illusion caused by the passage of history."
> 
> - Hitchhiker's Guide to the Galaxy
> 
> _______________________________________________
> Mapserver-dev mailing list
> Mapserver-dev at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------





More information about the mapserver-dev mailing list