<!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.2600.0" name=GENERATOR></HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Arial">
<DIV><FONT size=2></FONT> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2>Dear Deb,</FONT></SPAN></DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529055705-20112002>        
<FONT size=2>Hello, I am compiling mapserver in vc++ and landed with the same 
kind of errors that you have reported, please refer the mail below, I have also 
tried the reply sent to your mail by altering the project settings as suggested 
by "j1mm" and still I found the following error "Command line error D2004 : '/U' 
requires an argument", can you please tell me how to solve this 
problem.</FONT></SPAN></DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2>If possible Can u Please  
give me steps to configure the VC++ workspace for mapserver step by 
step.</FONT></SPAN></DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2>Thanks for your 
time</FONT></SPAN></DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2>Pradeep</FONT></SPAN></DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2><A 
href="mailto:j1mmm@hotmail.com">j1mmm@hotmail.com</A> wrote</FONT></SPAN></DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2>on VC, project menu and click 
setting</FONT></SPAN></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2>    C++ tab, 
category: Preprocessor<BR>    in undefine sysbols -- put ex. 
-DUSE_JPEG -DUSE_GD_GIF and all your<BR>needed predefine<BR>    
in addtional include directory -- put directory of needed OBJ,<BR>ex. 
-I./gd-1.8.4 -I./tiff-v3.5.6-beta/libtiff -I./jpeg-6b -I./regex-0.12 
-I.<BR>/gdal-1.1.5/ogr/ogrsf_frmts -I./gdal-1.1.5/ogr 
-I./gdal-1.1.5/ogr/../port</FONT></SPAN></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2>    Link tab, 
category Input<BR>    in additional library path  -- put 
your needed Lib path,ex<BR>/gd-1.8.4/gd.lib ./jpeg-6b/jpeg.lib 
./lpng1011/libpng.lib<BR>./zlib-1.1.3/zlib.lib 
./freetype-2.0.1/obj/freetype.lib</FONT></SPAN></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2>all these vary setting is exist 
in Makefile.vc</FONT></SPAN></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2>hope useful<BR><A 
href="mailto:j1mmm@hotmail.com">j1mmm@hotmail.com</A></FONT></SPAN></DIV>
<DIV><SPAN class=529055705-20112002><FONT size=2></FONT></SPAN> </DIV>
<DIV><FONT size=2>----- Original Message -----<BR>From: <<A 
href="mailto:DebasishS@riskinc.com">DebasishS@riskinc.com</A>><BR>To: <<A 
href="mailto:mapserver-users@lists.gis.umn.edu">mapserver-users@lists.gis.umn.edu</A>><BR>Sent: 
Saturday, November 17, 2001 9:14 PM<BR>Subject: [mapserver-users] MapServer 
Visual C++ 6.0 Project Workspace.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2><BR>> Hi,<BR>><BR>> Has anbody tried compiling 
Mapserver 3.5 using Visual C++ 6.0 . Can you<BR>> please provide me with the 
workspace file.<BR>> Am getting the following error when i try to 
compile<BR>><BR>> Linking...<BR>> mapserv.obj : error LNK2005: _main 
already defined in legend.obj<BR>> scalebar.obj : error LNK2005: _main 
already defined in legend.obj<BR>> shp2img.obj : error LNK2005: _main already 
defined in legend.obj<BR>> shpindex.obj : error LNK2005: _main already 
defined in legend.obj<BR>> shptree.obj : error LNK2005: _main already defined 
in legend.obj<BR>> sortshp.obj : error LNK2005: _main already defined in 
legend.obj<BR>> mapsymbol.obj : error LNK2001: unresolved external symbol 
_gdImageDestroy<BR>> maputil.obj : error LNK2001: unresolved external symbol 
_gdImageDestroy<BR>> scalebar.obj : error LNK2001: unresolved external symbol 
_gdImageDestroy<BR>> shp2img.obj : error LNK2001: unresolved external symbol 
_gdImageDestroy<BR>> legend.obj : error LNK2001: unresolved external symbol 
_gdImageDestroy<BR>> maplegend.obj : error LNK2001: unresolved external 
symbol _gdImageDestroy<BR>> mapscale.obj : error LNK2001: unresolved external 
symbol _gdImageDestroy<BR>> mapserv.obj : error LNK2001: unresolved external 
symbol _gdImageDestroy<BR>> mapfile.obj : error LNK2001: unresolved external 
symbol<BR>> _gdImageColorAllocate<BR>> mapraster.obj : error LNK2001: 
unresolved external symbol<BR>> _gdImageColorAllocate<BR>> mapsymbol.obj : 
error LNK2001: unresolved external symbol<BR>> _gdImageColorAllocate<BR>> 
mapxbase.obj : error LNK2001: unresolved external symbol _strcasecmp<BR>> 
shptree.obj : error LNK2001: unresolved external symbol _strcasecmp<BR>> 
mapfile.obj : error LNK2001: unresolved external symbol _strcasecmp<BR>> 
maphash.obj : error LNK2001: unresolved external symbol _strcasecmp<BR>> 
mapserv.obj : error LNK2001: unresolved external symbol _strcasecmp<BR>> 
maputil.obj : error LNK2001: unresolved external symbol _strcasecmp<BR>> 
mapfile.obj : error LNK2001: unresolved external symbol _regfree<BR>> 
mapparser.obj : error LNK2001: unresolved external symbol _regfree<BR>> 
mapserv.obj : error LNK2001: unresolved external symbol _regfree<BR>> 
mapfile.obj : error LNK2001: unresolved external symbol _regexec<BR>> 
mapparser.obj : error LNK2001: unresolved external symbol _regexec<BR>> 
mapserv.obj : error LNK2001: unresolved external symbol _regexec<BR>> 
maputil.obj : error LNK2001: unresolved external symbol _regexec<BR>> 
mapfile.obj : error LNK2001: unresolved external symbol _regcomp<BR>> 
mapparser.obj : error LNK2001: unresolved external symbol _regcomp<BR>> 
mapserv.obj : error LNK2001: unresolved external symbol _regcomp<BR>> 
maputil.obj : error LNK2001: unresolved external symbol _regcomp<BR>> 
maplabel.obj : error LNK2001: unresolved external symbol _gdFontGiant<BR>> 
maplabel.obj : error LNK2001: unresolved external symbol _gdFontLarge<BR>> 
maplabel.obj : error LNK2001: unresolved external symbol 
_gdFontMediumBold<BR>> maplabel.obj : error LNK2001: unresolved external 
symbol _gdFontSmall<BR>> maplabel.obj : error LNK2001: unresolved external 
symbol _gdFontTiny<BR>> maplabel.obj : error LNK2001: unresolved external 
symbol _gdImageString<BR>> maplegend.obj : error LNK2001: unresolved external 
symbol _gdImageCreate<BR>> mapscale.obj : error LNK2001: unresolved external 
symbol _gdImageCreate<BR>> mapsymbol.obj : error LNK2001: unresolved external 
symbol _gdImageCreate<BR>> maputil.obj : error LNK2001: unresolved external 
symbol _gdImageCreate<BR>> maplegend.obj : error LNK2001: unresolved external 
symbol<BR>> _gdImageColorTransparent<BR>> mapscale.obj : error LNK2001: 
unresolved external symbol<BR>> _gdImageColorTransparent<BR>> 
mapsymbol.obj : error LNK2001: unresolved external symbol<BR>> 
_gdImageColorTransparent<BR>> maputil.obj : error LNK2001: unresolved 
external symbol<BR>> _gdImageColorTransparent<BR>> mapprimitive.obj : 
error LNK2001: unresolved external symbol<BR>> _gdImageSetPixel<BR>> 
mapsymbol.obj : error LNK2001: unresolved external symbol 
_gdImageSetPixel<BR>> mapprimitive.obj : error LNK2001: unresolved external 
symbol _gdImageLine<BR>> mapscale.obj : error LNK2001: unresolved external 
symbol _gdImageLine<BR>> mapsymbol.obj : error LNK2001: unresolved external 
symbol _gdImageLine<BR>> mapraster.obj : error LNK2001: unresolved external 
symbol<BR>_gdImageRectangle<BR>> mapscale.obj : error LNK2001: unresolved 
external symbol _gdImageRectangle<BR>> mapraster.obj : error LNK2001: 
unresolved external symbol<BR>> _gdImageFilledRectangle<BR>> mapscale.obj 
: error LNK2001: unresolved external symbol<BR>> 
_gdImageFilledRectangle<BR>> mapserv.obj : error LNK2001: unresolved external 
symbol _strncasecmp<BR>> sortshp.obj : error LNK2001: unresolved external 
symbol _strncasecmp<BR>> mapsymbol.obj : error LNK2001: unresolved external 
symbol<BR>> _gdImageFilledPolygon<BR>> mapsymbol.obj : error LNK2001: 
unresolved external symbol<BR>> _gdImageFillToBorder<BR>> mapsymbol.obj : 
error LNK2001: unresolved external symbol _gdImageArc<BR>> mapsymbol.obj : 
error LNK2001: unresolved external symbol _gdImageSetTile<BR>> mapsymbol.obj 
: error LNK2001: unresolved external symbol _gdImagePolygon<BR>> 
mapsymbol.obj : error LNK2001: unresolved external symbol _gdImageCopy<BR>> 
mapsymbol.obj : error LNK2001: unresolved external symbol 
_gdImageSetStyle<BR>> mapsymbol.obj : error LNK2001: unresolved external 
symbol _gdImageSetBrush<BR>> maputil.obj : error LNK2001: unresolved external 
symbol _gdImageInterlace<BR>> shpindex.obj : error LNK2001: unresolved 
external symbol _SHPClose<BR>> shpindex.obj : error LNK2001: unresolved 
external symbol _SHPReadBounds<BR>> shpindex.obj : error LNK2001: unresolved 
external symbol _SHPGetInfo<BR>> shpindex.obj : error LNK2001: unresolved 
external symbol _SHPOpen<BR>> Debug/mapserver.exe : fatal error LNK1120: 32 
unresolved externals<BR>> Error executing link.exe.<BR>><BR>> 
mapserver.exe - 73 error(s), 109 warning(s)<BR>><BR>><BR>> Debasish 
Sahu.<BR>> Senior Software Engineer<BR>> RMS 
India.<BR>><BR>><BR>></FONT></DIV></BODY></HTML>