[mapserver-dev] Building 5.2.0 Beta on Win32

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Jun 20 11:29:13 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

Hello Rob,

I am building 5.2.0-beta2 now on windows, so I can maybe help.   When  
you check out a fresh svn copy of nmake.opt, you will have to go  
through it and change many of the settings to fit the buildkit (not  
just MS_BASE).  After doing that the best thing to do is to do a diff  
between the 5.0.2 nmake.opt and your new nmake.opt to make sure you  
haven't missed something (textpad is a nice tool to use for this, and  
u can eval forever).

In other words: follow the settings in the old 5.0.2 nmake.opt.



---
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/ea7e79d9/attachment.html


More information about the mapserver-dev mailing list