compiling MapServer in Win XP

Giuseppe De Rossi giuseppe.derossi at EMAIL.IT
Sat Jul 8 19:45:40 EDT 2006


Hi I've installed VC7 and cut most of libraries in the make.opt file so to
obtain the simplest version possibile. 
After a lot of test now I got:

LINK : warning LNK4044: unrecognized option "libjpeg.lib"; ignored
LINK : warning LNK4044: unrecognized option "objs/freetype2110.lib"; ignored
LINK : warning LNK4044: unrecognized option "libjpeg.lib"; ignored
LINK : warning LNK4044: unrecognized option "gdal_i.lib"; ignored
LINK : warning LNK4044: unrecognized option "gdal_i.lib"; ignored
LINK : warning LNK4044: unrecognized option "libcurl.lib"; ignored
LINK : warning LNK4044: unrecognized option "src/libming.lib"; ignored
LINK : warning LNK4044: unrecognized option "lib/pdflib.lib"; ignored
LINK : warning LNK4044: unrecognized option
"src/interfaces/libpq/release/libpqd
ll.lib"; ignored
   Creating library mapserver_i.lib and object mapserver_i.exp
regex.obj : error LNK2001: unresolved external symbol _printchar
libmap.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
 

is there anyone who can help me ?  

Thanks in advance and best regards

	--------- Original Message --------
	Da: giuseppe.derossi at EMAIL.IT
	To: MAPSERVER-USERS at LISTS.UMN.EDU <MAPSERVER-USERS at LISTS.UMN.EDU>
	Oggetto: Re: [UMN_MAPSERVER-USERS] compiling MapServer in Win XP
	Data: 08/07/06 02:02
	
	> 
> 
> 
> Hi Francesco,
> thanks for you kind answer; now what drives me crazy is that I can't
choose
> the
> compiling options. If I comment some code lines in make.opt file the
result
> id always the same: for example now I'd like to disable the Ming compiling
> option but in both the situations in the make.opt:
> 
> MING=-DUSE_MING_FLASH
> MING_DIR=$(MS_BASE)..ming-0.2a
> 
> and 
> 
> # MING=-DUSE_MING_FLASH
> # MING_DIR=$(MS_BASE)..ming-0.2a
> 
> the result is an error becouse the ming.h file is not found. 
> I've solved th iconv.h error by installing the right directory.
> 
> Now How do I have to do to disable an option, what file do I have to edit
?
> Excuse me for the trivial questions.
> 
> Thanks
> 
> PS, I'm yet using VC6.
> 
> 
> 
>   
> 
> 	--------- Original Message --------
> 	Da: Francesco Sozzi <fsozzi at INTERCAD.CH>
> 	To: MAPSERVER-USERS at LISTS.UMN.EDU <MAPSERVER-USERS at LISTS.UMN.EDU>
> 	Oggetto: Re: [UMN_MAPSERVER-USERS] compiling MapServer in Win XP
> 	Data: 07/07/06 09:45
> 	
> 	> 
> > 
> > 
> > Hi Giuseppe,
> > 
> > Time ago I had the same need and, yes, I had to modify map.h and compile

> > myself.
> > But I've never experimented your problem. I've just looked for iconv.h
in
> my 
> > files and I did not find.
> > Here you are my mapserver options (these does not require iconv.h):
> > 
> > MapServer version 4.8.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
> > OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER 
> > SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT 
> > SUPPORTS=WCS_SERVER INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL
> INPUT=SHAPEFILE 
> > DEBUG=MSDEBUG
> > 
> > I've also seen you're using VC6. I had many troubles with this compiler
in
> 
> > Windows environment (I also use Win XP).
> > I work better with VC7.
> > 
> > Regards
> > 
> > Francesco
> > 
> > PS: do you really need so many layers?... For instance in my case I had
a 
> > customer that wanted to separately load 600 rasters. Now he loads all 
> > rasters in only one layer with tile index tecnique.
> > 
> > ----- Original Message ----- 
> > From: "Giuseppe De Rossi" <giuseppe.derossi at EMAIL.IT>
> > To: <MAPSERVER-USERS at LISTS.UMN.EDU>
> > Sent: Friday, July 07, 2006 9:06 AM
> > Subject: [UMN_MAPSERVER-USERS] compiling MapServer in Win XP
> > 
> > 
> > > Hi to everybody,
> > > this is for me the first one, hoper I'm not offtopic.
> > > I need a kind help in order to compile mapserver to increase the
maximum
> > > number of allowed layers.
> > > I'm trying to compile it in winxp environment by using VC++6, I've
> > > downloaded the libraries and compiled them ( seems ok) but when I try
to
> > > compile the server I get an error: Can't open the file iconv.h.
> > > I've installed cygwin and this file is in c:cygwinsomething.
> > > Now I'd like to know:
> > > how can I solve the missing of iconv.h, is that the evidence that my
> > > compiling process is wrong or my environment is not able to do ?
> > > is this file linked to a library ?
> > >
> > > to manage 800 layers, must I compile the mapserver and change the
map.h
> ? 
> > > is
> > > there another easier way to get it ?
> > >
> > >
> > > Thanks in advance and best regards
> > >
> > > Giu
> > >
> > > --
> > > Email.it, the professional e-mail, gratis per te:
http://www.email.it/f
> > >
> > > Sponsor:
> > > Scopri RIS il sistema di ricarica infinita. Meglio delle cartucce,
> meglio
> > > degli inchiostri, economico, facile da installare e da utilizzare,
solo
> su
> > > refill.it
> > > Clicca qui:
http://adv.email.it/cgi-bin/foclick.cgi?mid=5191&d=20060707
> > > 
> > 
> > 
> >  
>  --
>  Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>  
>  Sponsor:
>  Video Lezioni Gratis? Internet, Informatica, Hobby direttamente da
> professionisti. Scopri adesso come imparare senza fatica e stress!
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5147&d=20060708
> 
> 
>  
>  --
>  Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>  
>  Sponsor:
>  Video-Corsi.com : Vuoi scoprire un modo rapido e veloce per imparare?
> Scopri i nostri VideoCorsi professionali
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5141&d=20060708
> 
> 
>  
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Gioca e vinci con Cesar: trova la ciotola ed è subito tuo il prezioso kit
per la tavola del tuo cagnolino
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5331&d=20060709



More information about the mapserver-users mailing list