[mapserver-dev] Building 5.2.0 Beta on Win32
Jeff McKenna
jmckenna at gatewaygeomatics.com
Fri Jun 20 18:47:29 EDT 2008
On 17-Jun-08, at 4:18 PM, Rob McCulley wrote:
> Hi All,
>
> I’m trying to build the 5.2.0 beta on Windows XP using MSVC 7.1.
> I’m using the Mapserver buildkit. The only line I changed in the
> nmake.opt file is line 74, the declaration of MS_BASE. All other
> options in the nmake.opt file are the default values. The build
> fails due to four unresolved externals. This is the error message:
>
> Creating library mapserver_i.lib and object mapserver_i.exp
> maperror.obj : error LNK2019: unresolved external symbol _vsnprintf
> referenced in function _msSetError
> mapwcs11.obj : error LNK2019: unresolved external symbol
> _msWCSException11 referenced in function _msWCSGetCoverageBands11
> mapwcs11.obj : error LNK2019: unresolved external symbol
> _msOWSLookupMetadata referenced in function _msWCSGetCoverageBands11
> mapwcs11.obj : error LNK2019: unresolved external symbol
> _msWCSGetRequestParameter referenced in function
> _msWCSGetCoverageBands11
> libmap.dll : fatal error LNK1120: 4 unresolved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.
>
> I’m not building with any of the OGC options enabled, yet these
> errors seem to be related to the OGC stuff. Any ideas what’s going
> on here?
>
> Rob McCulley
>
Rob,
As I battle a different compile issue with the beta on windows (http://trac.osgeo.org/mapserver/ticket/2657
) I decided to try a build without any OGC support, and voila I got
your exact errors....so I have filed a ticket for this: http://trac.osgeo.org/mapserver/ticket/2658
since I *think* we should be able to compile MapServer without OGC
support.
-jeff
---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20080620/a61dd0b9/attachment.html
More information about the mapserver-dev
mailing list