[mapserver-dev] RE: [mapserver-users] Help needed MapServer Visual C++ 6.0 Project Workspace
Pradeep
pradeepkumar at infotech.stph.net
Wed Nov 20 07:16:28 EST 2002
MessageDear John,
thank you very much for your response, I have altered my dsp
based on your workspace setting, and now its building well, but I fins that
the dsp file you sent was meant for creating a mapserver.lib instead of the
mapserv.exe which we are supposed to build, Can you tell me what I am
missing? and how to build an exe? or do you have a seperate dsp for
mapserv.exe? can you send me that
Thank you very much
Pradeep
-----Original Message-----
From: Administrator [mailto:jnovak at novacell.com]
Sent: Wednesday, November 20, 2002 12:59 PM
To: pradeepkumar at infotech.stph.net; DebasishS at riskinc.com
Subject: RE: [mapserver-users] Help needed MapServer Visual C++ 6.0
Project Workspace
Folks,
I've attached my project file that I've used to build 3.6.3. I've pretty
much turned every optional component on so you may have to remove settings
you don't want.
John Novak
Novacell Technologies
-----Original Message-----
From: Pradeep [mailto:pradeepkumar at infotech.stph.net]
Sent: Tuesday, November 19, 2002 11:09 PM
To: Mapserver-Users; mapserver-dev; DebasishS at riskinc.com
Subject: [mapserver-users] Help needed MapServer Visual C++ 6.0 Project
Workspace
Importance: High
Dear Deb,
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.
If possible Can u Please give me steps to configure the VC++ workspace
for mapserver step by step.
Thanks for your time
Pradeep
j1mmm at hotmail.com wrote
on VC, project menu and click setting
C++ tab, category: Preprocessor
in undefine sysbols -- put ex. -DUSE_JPEG -DUSE_GD_GIF and all your
needed predefine
in addtional include directory -- put directory of needed OBJ,
ex. -I./gd-1.8.4 -I./tiff-v3.5.6-beta/libtiff -I./jpeg-6b -I./regex-0.12 -I.
/gdal-1.1.5/ogr/ogrsf_frmts -I./gdal-1.1.5/ogr -I./gdal-1.1.5/ogr/../port
Link tab, category Input
in additional library path -- put your needed Lib path,ex
/gd-1.8.4/gd.lib ./jpeg-6b/jpeg.lib ./lpng1011/libpng.lib
./zlib-1.1.3/zlib.lib ./freetype-2.0.1/obj/freetype.lib
all these vary setting is exist in Makefile.vc
hope useful
j1mmm at hotmail.com
----- Original Message -----
From: <DebasishS at riskinc.com>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Saturday, November 17, 2001 9:14 PM
Subject: [mapserver-users] MapServer Visual C++ 6.0 Project Workspace.
> Hi,
>
> Has anbody tried compiling Mapserver 3.5 using Visual C++ 6.0 . Can
you
> please provide me with the workspace file.
> Am getting the following error when i try to compile
>
> Linking...
> mapserv.obj : error LNK2005: _main already defined in legend.obj
> scalebar.obj : error LNK2005: _main already defined in legend.obj
> shp2img.obj : error LNK2005: _main already defined in legend.obj
> shpindex.obj : error LNK2005: _main already defined in legend.obj
> shptree.obj : error LNK2005: _main already defined in legend.obj
> sortshp.obj : error LNK2005: _main already defined in legend.obj
> mapsymbol.obj : error LNK2001: unresolved external symbol
_gdImageDestroy
> maputil.obj : error LNK2001: unresolved external symbol
_gdImageDestroy
> scalebar.obj : error LNK2001: unresolved external symbol
_gdImageDestroy
> shp2img.obj : error LNK2001: unresolved external symbol
_gdImageDestroy
> legend.obj : error LNK2001: unresolved external symbol _gdImageDestroy
> maplegend.obj : error LNK2001: unresolved external symbol
_gdImageDestroy
> mapscale.obj : error LNK2001: unresolved external symbol
_gdImageDestroy
> mapserv.obj : error LNK2001: unresolved external symbol
_gdImageDestroy
> mapfile.obj : error LNK2001: unresolved external symbol
> _gdImageColorAllocate
> mapraster.obj : error LNK2001: unresolved external symbol
> _gdImageColorAllocate
> mapsymbol.obj : error LNK2001: unresolved external symbol
> _gdImageColorAllocate
> mapxbase.obj : error LNK2001: unresolved external symbol _strcasecmp
> shptree.obj : error LNK2001: unresolved external symbol _strcasecmp
> mapfile.obj : error LNK2001: unresolved external symbol _strcasecmp
> maphash.obj : error LNK2001: unresolved external symbol _strcasecmp
> mapserv.obj : error LNK2001: unresolved external symbol _strcasecmp
> maputil.obj : error LNK2001: unresolved external symbol _strcasecmp
> mapfile.obj : error LNK2001: unresolved external symbol _regfree
> mapparser.obj : error LNK2001: unresolved external symbol _regfree
> mapserv.obj : error LNK2001: unresolved external symbol _regfree
> mapfile.obj : error LNK2001: unresolved external symbol _regexec
> mapparser.obj : error LNK2001: unresolved external symbol _regexec
> mapserv.obj : error LNK2001: unresolved external symbol _regexec
> maputil.obj : error LNK2001: unresolved external symbol _regexec
> mapfile.obj : error LNK2001: unresolved external symbol _regcomp
> mapparser.obj : error LNK2001: unresolved external symbol _regcomp
> mapserv.obj : error LNK2001: unresolved external symbol _regcomp
> maputil.obj : error LNK2001: unresolved external symbol _regcomp
> maplabel.obj : error LNK2001: unresolved external symbol _gdFontGiant
> maplabel.obj : error LNK2001: unresolved external symbol _gdFontLarge
> maplabel.obj : error LNK2001: unresolved external symbol
_gdFontMediumBold
> maplabel.obj : error LNK2001: unresolved external symbol _gdFontSmall
> maplabel.obj : error LNK2001: unresolved external symbol _gdFontTiny
> maplabel.obj : error LNK2001: unresolved external symbol
_gdImageString
> maplegend.obj : error LNK2001: unresolved external symbol
_gdImageCreate
> mapscale.obj : error LNK2001: unresolved external symbol
_gdImageCreate
> mapsymbol.obj : error LNK2001: unresolved external symbol
_gdImageCreate
> maputil.obj : error LNK2001: unresolved external symbol _gdImageCreate
> maplegend.obj : error LNK2001: unresolved external symbol
> _gdImageColorTransparent
> mapscale.obj : error LNK2001: unresolved external symbol
> _gdImageColorTransparent
> mapsymbol.obj : error LNK2001: unresolved external symbol
> _gdImageColorTransparent
> maputil.obj : error LNK2001: unresolved external symbol
> _gdImageColorTransparent
> mapprimitive.obj : error LNK2001: unresolved external symbol
> _gdImageSetPixel
> mapsymbol.obj : error LNK2001: unresolved external symbol
_gdImageSetPixel
> mapprimitive.obj : error LNK2001: unresolved external symbol
_gdImageLine
> mapscale.obj : error LNK2001: unresolved external symbol _gdImageLine
> mapsymbol.obj : error LNK2001: unresolved external symbol _gdImageLine
> mapraster.obj : error LNK2001: unresolved external symbol
_gdImageRectangle
> mapscale.obj : error LNK2001: unresolved external symbol
_gdImageRectangle
> mapraster.obj : error LNK2001: unresolved external symbol
> _gdImageFilledRectangle
> mapscale.obj : error LNK2001: unresolved external symbol
> _gdImageFilledRectangle
> mapserv.obj : error LNK2001: unresolved external symbol _strncasecmp
> sortshp.obj : error LNK2001: unresolved external symbol _strncasecmp
> mapsymbol.obj : error LNK2001: unresolved external symbol
> _gdImageFilledPolygon
> mapsymbol.obj : error LNK2001: unresolved external symbol
> _gdImageFillToBorder
> mapsymbol.obj : error LNK2001: unresolved external symbol _gdImageArc
> mapsymbol.obj : error LNK2001: unresolved external symbol
_gdImageSetTile
> mapsymbol.obj : error LNK2001: unresolved external symbol
_gdImagePolygon
> mapsymbol.obj : error LNK2001: unresolved external symbol _gdImageCopy
> mapsymbol.obj : error LNK2001: unresolved external symbol
_gdImageSetStyle
> mapsymbol.obj : error LNK2001: unresolved external symbol
_gdImageSetBrush
> maputil.obj : error LNK2001: unresolved external symbol
_gdImageInterlace
> shpindex.obj : error LNK2001: unresolved external symbol _SHPClose
> shpindex.obj : error LNK2001: unresolved external symbol
_SHPReadBounds
> shpindex.obj : error LNK2001: unresolved external symbol _SHPGetInfo
> shpindex.obj : error LNK2001: unresolved external symbol _SHPOpen
> Debug/mapserver.exe : fatal error LNK1120: 32 unresolved externals
> Error executing link.exe.
>
> mapserver.exe - 73 error(s), 109 warning(s)
>
>
> Debasish Sahu.
> Senior Software Engineer
> RMS India.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20021120/625d6c88/attachment.html
More information about the mapserver-dev
mailing list