<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>Building on Windows</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I'm trying to compile GDAL using the provided makefile.vc files, and I get the same error right at the beginning.&nbsp; In doing some google searches I found some posts in the GDAL archive from some chap that had the same problem a couple years ago&#8230;.that chap turned out to be me!&nbsp;&nbsp;&nbsp;&nbsp; However, back then I did resolve the issue somehow, but it wasn't resolved with any list help so there's no record of what I did.&nbsp;&nbsp;&nbsp; This is a different computer, and the newest version of Visual Studio so the fact that I'm the only one to ever have this problem I find rather surprising.&nbsp;&nbsp; Anyway any suggestions to help me remember what I did?&nbsp; </FONT></P>

<P><FONT SIZE=2 FACE="Arial">Much thanks!&nbsp; Here's the error:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">***********************************************</FONT>

<BR><FONT SIZE=2 FACE="Arial">$ nmake -f makefile.vc</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Microsoft (R) Program Maintenance Utility Version 8.00.50727.42</FONT>

<BR><FONT SIZE=2 FACE="Arial">Copyright (C) Microsoft Corporation.&nbsp; All rights reserved.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd port</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nmake /nologo /f makefile.vc</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl /nologo /MD /EHsc /Zi /Fd..\gdal.pdb -I..\port -I..\ogr -I..\gcore&nbsp; -I..\alg&nbsp; /c cpl_conv.cpp</FONT>

<BR><FONT SIZE=2 FACE="Arial">cpl_conv.cpp</FONT>

<BR><FONT SIZE=2 FACE="Arial">cpl_conv.cpp(1313) : error C3861: 'snprintf': identifier not found</FONT>

<BR><FONT SIZE=2 FACE="Arial">NMAKE : fatal error U1077: '&quot;c:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE&quot;' : return code '0x2'</FONT>

<BR><FONT SIZE=2 FACE="Arial">Stop.</FONT>

<BR><FONT SIZE=2 FACE="Arial">NMAKE : fatal error U1077: '&quot;c:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.EXE&quot;' : return code '0x2'</FONT>

<BR><FONT SIZE=2 FACE="Arial">Stop.</FONT>

<BR><FONT SIZE=2 FACE="Arial">*********************************************</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2 FACE="Courier New">Matt Hanson</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New"> </FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">Photon Research Associates, Inc.</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">A Raytheon Company</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">155 Fleet Street, Suite 13</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">Portsmouth, NH 03801</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">(603) 570-4854</FONT>
</P>
<BR>

</BODY>
</HTML>