[mapserver-users] About compiling MapServer 3.6.1 with libwww 5.4.0.

Hisaji ONO hi-ono at mn.xdsl.ne.jp
Fri Jun 28 12:09:28 EDT 2002


 Hello.

 I uncommented "libwww" related thing in Makefile.vc like this.

WMSCLIENT= -DUSE_WMS_LYR

WWWLIB_INC=-I../Libwww/library/src -I../libwww/modules/expat/xmlparse
WWWLIB_LIB=../Libwww/bin/wwwcore.lib ../Libwww/bin/wwwapp.lib
../Libwww/bin/wwwinit.lib ../Libwww/bin/wwwutils.lib

 And I got ibwww source from http://www.w3.org/Library/, their lib binaries
from http://www.idm.ru/libwww/Bin/ and did make.

 However I've got following error messages.

        cl /nologo
i -I../gd-1.8.4 -I../tiff-v3.5.5/libtiff   -I../proj-4.4.5/
src   -I..\php-4.1.2\regex -DPHP_NO_ALIASES -I..\gdal-1.1.5/alg -I..\gdal-1.
1.5/
bridge -I..\gdal-1.1.5/core -I..\gdal-1.1.5/frmts -I..\gdal-1.1.5/port -I..\
gdal
-1.1.5/pymod -I..\gdal-1.1.5/ogr/ogrsf_frmts -I..\gdal-1.1.5/ogr -I..\gdal-1
.1.5
/ogr/../port  -I..\postgresql-7.2.1-win32/include -I../Libwww/library/src -I
../l
ibwww/modules/expat/xmlparse -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECM
P -D
NEED_STRNCASECMP   -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF  -DUSE_
GD_P
NG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF  -DUSE_GD_TTF -DUSE_GDAL -DUSE_O
GR -
DUSE_POSTGIS -DUSE_WMS -DUSE_WMS_LYR   /c mapwmslayer.c /Fomapwmslayer.obj
mapwmslayer.c
../Libwww/library/src\HTProt.h(58) : error C2061: sytax error: identifer
'HTProtocolId' caused sytax error.
../Libwww/library/src\HTProt.h(58) : error C2059: sytax error: ';'
../Libwww/library/src\HTProt.h(85) : error C2146: sytax error : ')' is need
in front of identifer  'port'
...........................................................................

 Could you give me any suggestion about this?

 Best Regards.




More information about the mapserver-users mailing list