<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=039315314-11122003><FONT face=Arial color=#0000ff size=2>Yvain
-</FONT></SPAN></DIV>
<DIV><SPAN class=039315314-11122003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=039315314-11122003><FONT face=Arial color=#0000ff size=2>This
looks like a mismatched set of compile/build options. I build GDAL all the
time with VC7 and I find it's one of the cleanest builds in the MapServer
suite. I would do a "clean" and then rebuild everything; if the problem
persists, you probably have mismatched compiler options for some of the
modules. Have you edited the compiler switches from the default
distribution?</FONT></SPAN></DIV>
<DIV><SPAN class=039315314-11122003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=039315314-11122003> <FONT face=Arial
color=#0000ff size=2>- Ed</FONT></SPAN></DIV>
<DIV><SPAN class=039315314-11122003>
<P><FONT size=2>Ed McNierney<BR>President and Chief Mapmaker<BR>TopoZone.com /
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North Chelmsford,
MA 01863<BR>ed@topozone.com<BR>(978) 251-4242 </FONT></P></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Ballini Yvain
[mailto:Ballini.Yvain@seat.it]<BR><B>Sent:</B> Thursday, December 11, 2003
4:23 AM<BR><B>To:</B> gdal-dev@remotesensing.org<BR><B>Subject:</B> [Gdal-dev]
compiling mapserver 4.0 with gdal support on VC7<BR><BR></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><BR></FONT><FONT face=Arial
color=#0000ff size=2><FONT size=2>Hi,</DIV>
<DIV dir=ltr align=left>
<P>I'm trying to recompile mapserver 4.0 with OGR support (on Windows XP with
VC7).</P>
<P>Without the gdal support, it's everything ok but adding the gdal support
introduces a lot of problem during the recompilation of mapserver.</P>
<P>When I run the makefile.vc of mapserver, it gives me the following errors
for gdal 1.1.9:</P>
<P>cpl.lib(cpl_error.obj) : error LNK2019: unresolved external symbol
__imp___vsnpr intf referenced in function _CPLDebug</P>
<P>cpl.lib(cpl_string.obj) : error LNK2019: unresolved external symbol
__imp___vsnp rintf referenced in function _CSLSave</P>
<P>cpl.lib(cpl_vsisimple.obj) : error LNK2019: unresolved external symbol
__imp__fp uts referenced in function _VSIFPuts</P>
<P>cpl.lib(cpl_vsisimple.obj) : error LNK2019: unresolved external symbol
__imp__mk dir referenced in function _VSIMkdir</P>
<P>OLDNAMES.lib(mkdir.obi) : error LNK2001: unresolved external symbol
__imp__mkdir</P>
<P>cpl.lib(cpl_vsisimple.obj) : error LNK2019: unresolved external symbol
__imp__rm dir referenced in function _VSIRmdir</P>
<P>OLDNAMES.lib(rmdir.obi) : error LNK2001: unresolved external symbol
__imp__rmdir</P>
<P>cpl.lib(cpl_string.obj) : error LNK2019: unresolved external symbol
__imp__strer ror referenced in function _CSLSave</P>
<P>cpl.lib(cpl_string.obj) : error LNK2019: unresolved external symbol
__imp___errn o referenced in function _CSLSave</P>
<P>cpl.lib(cpl_dir.obj) : error LNK2019: unresolved external symbol
__imp___findclo se referenced in function _CPLReadDir</P>
<P>cpl.lib(cpl_dir.obj) : error LNK2019: unresolved external symbol
__imp___findnex t referenced in function _CPLReadDir</P>
<P>cpl.lib(cpl_dir.obj) : error LNK2019: unresolved external symbol
__imp___findfir st referenced in function _CPLReadDir</P>
<P>OLDNAMES.lib(mkdir.obi) : error LNK2001: unresolved external symbol
__imp___mkdi r</P>
<P>OLDNAMES.lib(rmdir.obi) : error LNK2001: unresolved external symbol
__imp___rmdi r mapserv.exe : fatal error LNK1120: 11 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'</P>
<P>Stop.</P>
<P>Does someone know if there is a better version for compiling with VC7 ?</P>
<P>Thanks.</P>
<P>Yvain Ballini.</P></FONT></FONT></DIV></BLOCKQUOTE></BODY></HTML>