Mapserver nmake compile issues
===

I am trying to compile mapserver and am having some issues with the process. The last error I get is not reported on screen.

As per http://stackoverflow.com/questions/6622869/problem-with-nmake I am running this in the VS 2010 command prompt and when I run "cl" I get the "usage:" statement so there is no issue with the vc install.

So

    C:\Projects\mapserver-6.2.0-beta1>cl
    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
    Copyright (C) Microsoft Corporation.  All rights reserved.
    
    usage: cl [ option... ] filename... [ /link linkoption... ]
    
    C:\Projects\mapserver-6.2.0-beta1>nmake /f Makefile.vc >nmake_log3.txt
    
    Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
    Copyright (C) Microsoft Corporation.  All rights reserved.
    
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
    N\cl.EXE"' : return code '0x2'
    Stop.
    
    C:\Projects\mapserver-6.2.0-beta1>

If I use the /i option it still doesn't work out with many many errors...probably sourcing from the initial issue with "cl".

    C:\Projects\mapserver-6.2.0-beta1>nmake /i /f Makefile.vc >nmake_log4.txt


> 	cl /nologo /Ox /MD /W4  /EHsc /D_CRT_SECURE_NO_DEPRECATE
> /D_CRT_NONSTDC_NO_DEPRECATE -I:/projects/gdwin32 
> -If:\projects\mapserver-buildkit-2008\mapserver\..\jpeg-6b   -If:\projects\mapserver-buildkit-2008\mapserver\..\proj-svn-04222009/src
> -IC:\Projects\regex-0.12               -If:\projects\mapserver-buildkit-2008\mapserver\..\zlib-1.2.3   -If:\projects\mapserver-buildkit-2008\mapserver\..\freetype-2.3.9\include
> -Irenderers\agg\include -If:\projects\mapserver-buildkit-2008\mapserver\..\expat-2.0.1\source\lib
> -If:\projects\mapserver-buildkit-2008\mapserver\..\libpng-1.2.35   -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -DNEED_STRRSTR -DNEED_STRCASESTR -DNEED_STRLCPY    -DUSE_PROJ -DUSE_PROJ_API_H  -DUSE_JPEG -DUSE_GD -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW   -DUSE_THREAD   -DIGNORE_MISSING_DATA               -DUSE_GD_ANTIALIAS      -DUSE_ZLIB    -DUSE_AGG    -DUSE_RGBA_PNG     -DWIN32 -D_WIN32 /c mapbits.c /Fomapbits.obj mapbits.c
> c:\projects\mapserver-6.2.0-beta1\mapsymbol.h(34) : fatal error C1083:
> Cannot open include file: 'gd.h': No such file or directory

