[Mapserver-dev] Fwd: nightly CVS 4/12: shptreevis.c build fails
Yewondwossen Assefa
assefa at dmsolutions.ca
Tue Apr 13 16:49:01 EDT 2004
Latest cvs version now builds properly on widows. The makefile is also
up to date.
Daniel Morissette wrote:
> 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
--
----------------------------------------------------------------
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