[Mapserver-users] Compiling mapserver with gdal
Michael Schulz
mschulz at webgis.de
Tue Mar 30 23:34:51 PST 2004
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