Steve,<br><br>You could download any of the SDK packages (according to your compiler version and architecture) supported from this location:<br><br><a href="http://vbkto.dyndns.org:1280/sdk/Default.aspx">http://vbkto.dyndns.org:1280/sdk/Default.aspx</a><br>
<br>(see the bottom of the page for the SDKs)<br><br>These packages contain all the required stuff for a successful compilation and the required patch in the regex lib which should make it compile well.<br><br>Best regards,<br>
<br>Tamas<br><br><br><br><br><div class="gmail_quote">2009/6/17 Stephen Woodbridge <span dir="ltr">&lt;<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
This is my first time trying to build mapserver under Windows and it is dying in the regex-0.12 source with the the errors below. Any thoughts on how to resolved this?<br>
<br>
Thanks,<br>
  -Steve W.<br>
<br>
        cl /nologo /Ox /MD /W3  /EHsc -Ic:\projects\mapserver\..\gdwin32     -Ic<br>
:\projects\mapserver\..\proj-4.6.1/src -Ic:\projects\mapserver\..\regex-0.12<br>
   -Ic:\projects\mapserver\..\postgresql-8.3.7/src/interfaces/libpq -Ic:\project<br>
s\mapserver\..\postgresql-8.3.7/src/include -Ic:\projects\mapserver\..\z<br>
lib-1.2.3    -Ic:\projects\mapserver\..\libpng-1.2.8  -DHAVE_STRING_H -DREGEX_MA<br>
LLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -DNEED_STRRSTR -DNEED_S<br>
TRCASESTR -DUSE_POSTGIS   -DUSE_PROJ -DUSE_PROJ_API_H   -DUSE_GD_PNG -DUSE_GD_JP<br>
EG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -DGD_HAS_GETBIT<br>
MAPFONT -DGD_HAS_FTEX_XSHOW   -DUSE_THREAD    -DIGNORE_MISSING_DATA<br>
  -DUSE_GD_ANTIALIAS              -DWIN32 -D_WIN32 /c c:\projects\mapserver\..\r<br>
egex-0.12\regex.c /Foc:\projects\mapserver\..\regex-0.12\regex.obj<br>
regex.c<br>
<br>
[snip lots of warnings]<br>
<br>
c:\projects\mapserver\..\regex-0.12\regex.c(4877) : warning C4996: &#39;errcode&#39;: Th<br>
is name was supported during some Whidbey pre-releases. Instead, use the standar<br>
d name errno_t.<br>
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\crtdefs.h(548) :<br>
 see declaration of &#39;errcode&#39;<br>
c:\projects\mapserver\..\regex-0.12\regex.c(4877) : error C2081: &#39;preg&#39; : name i<br>
n formal parameter list illegal<br>
c:\projects\mapserver\..\regex-0.12\regex.c(4877) : error C2081: &#39;errbuf&#39; : name<br>
 in formal parameter list illegal<br>
c:\projects\mapserver\..\regex-0.12\regex.c(4877) : error C2081: &#39;errbuf_size&#39; :<br>
 name in formal parameter list illegal<br>
c:\projects\mapserver\..\regex-0.12\regex.c(4878) : error C2055: expected formal<br>
 parameter list, not a type list<br>
c:\projects\mapserver\..\regex-0.12\regex.c(4878) : error C2082: redefinition of<br>
 formal parameter &#39;errcode&#39;<br>
c:\projects\mapserver\..\regex-0.12\regex.c(4886) : warning C4996: &#39;errcode&#39;: Th<br>
is name was supported during some Whidbey pre-releases. Instead, use the standar<br>
d name errno_t.<br>
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\crtdefs.h(548) :<br>
 see declaration of &#39;errcode&#39;<br>
c:\projects\mapserver\..\regex-0.12\regex.c(4886) : error C2059: syntax error :<br>
&#39;type&#39;<br>
c:\projects\mapserver\..\regex-0.12\regex.c(4894) : error C2275: &#39;errcode&#39; : ill<br>
egal use of this type as an expression<br>
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\crtdefs.h(548) :<br>
 see declaration of &#39;errcode&#39;<br>
c:\projects\mapserver\..\regex-0.12\regex.c(4911) : warning C4996: &#39;strcpy&#39;: Thi<br>
s function or variable may be unsafe. Consider using strcpy_s instead. To disabl<br>
e deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br>
NMAKE : fatal error U1077: &#39;&quot;C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN<br>
\cl.EXE&quot;&#39; : return code &#39;0x2&#39;<br>
Stop.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br>