[gdal-dev] Compile GDAL With WMS Support (Win32)

Michael Sumner mdsumner at utas.edu.au
Sun Jan 4 01:44:57 EST 2009


I had no problem with this in VC++ Express with 1.6.0 RC4. If I remember 
correctly all I need was the libcurl download as described here:

and this in nmake.opt

CURL_DIR=C:\inst\libcurl
CURL_INC = -I$(CURL_DIR)/include
# Uncoment following line to use libcurl as dynamic library
CURL_LIB = $(CURL_DIR)/libcurl_imp.lib wsock32.lib wldap32.lib winmm.lib

Cheers, Mike.


--On Thursday, 18 December 2008 3:15 PM -0500 Joel Odom 
<joelodom at gmail.com> wrote:

> I'm trying to use GDAL to pull down WMS images.  I installed curl and
> built with it.  (I can see that libcurl.dll is being loaded.)  When I
> pass in my XML service descriptor file to GDALOpen, I get, "ERROR 4:
> `C:\Documents and Settings\jo44\Desktop\ogr_data\wms.xml' not
> recognised as a supported file format."  I ran "gdalinfo --formats"
> and found that WMS is *not* listed among the supported formats, so I
> assume that I have left something out of my build.  Does anyone have
> any hints as to where to go from here?  Thanks!
>
>
> --
> http://giscoder.blogspot.com/
>






More information about the gdal-dev mailing list