R: [Mapserver-users] Compiling mapserver with gdal
Ballini Yvain
Ballini.Yvain at seat.it
Wed Mar 31 05:09:30 PST 2004
Hi,
I've got exactly the same problem, with the same unresolved symbol (__HUGE which is defined in math.h)...
If you compile gdal-1.2.0 with the default compiling flag (OPTFLAGS= /nologo /Ox /MD), it compiles ok, but when you compile mapserver 4.0 with it, it doesn't work because there are some conflicts of runtime library (I would like to compile mapserver and all other librarries in multithreaded: OPTFLAGS= /nologo /G7 /Ox /MT)....
That's why I would like to know has succeded in compiling gdal-1.2.0 in mutithreaded.
Thanks a lot !!
Yvain.
-----Messaggio originale-----
Da: Michael Schulz [mailto:mschulz at webgis.de]
Inviato: mercoledì 31 marzo 2004 9.35
A: Ballini Yvain
Cc: mapserver-users at lists.gis.umn.edu
Oggetto: Re: [Mapserver-users] Compiling mapserver with gdal
Hi,
i am also at the moment trying to compile mapserver-4.0.1 with VC7 and current versions of gd (2.0.21), gdal (1.2.0) ...
I changed all support libraries to compile with the /MT switch and succeeded in building gdal with that option. But building mapserver didn't work, there were some unresolved external symbols, e.g. __HUGE.
Now i am starting over with the /MD flag.
Could someone give some advice which compiler flag should be used or is "better" suited for the needs of mapserver on windows? And could someone confirm that it is necessary to have all libs compiled with the same flags?
Thanks, Michael
Ballini Yvain schrieb:
>
> Hi List,
>
> I'm looking for a version of gdal which can be compiled with the
> static multithread option (switch /MT in the makefile.vc).
> Indeed, I've compiled mapserver 4.0 (with VC7 on XP) like this, and
> the current version I've downloaded for gdal (gdal-1.2.0) seems not to
> be compilable with the compiler options that I still have used for
> compiling mapserver and other utilities:
> OPTFLAGS= /nologo /Ox /MT $(WARNING_LEVEL) $(DEBUG)
> LDFLAGS = /NODEFAULTLIB:libc /DEBUG
> Has someone any idea or any gdal source version which is still
> compilable with these options...?
>
> Thanks a lot.
> Regards.
>
> Yvain Ballini.
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
--
-----------------------------------------------------------
Michael Schulz in medias res
Dipl.-Geologe Gesellschaft für
Informationstechnologie mbH
In den Weihermatten 66
79108 Freiburg
0761 55695-95 (Fax 96)
mschulz at webgis.de www.webgis.de/www.zopecms.de
More information about the MapServer-users
mailing list