[gdal-dev] error when opening wcs descriptor

godofredo contreras frdcn at hotmail.com
Wed May 20 15:33:31 EDT 2009


Thank you for your answer Even:

 

I'm using windows xp, and building with visual studio 2005, you're right the problem was caused for compilation without a previous clean. I did an

 

 nmake /f makefile.vc clean

 

 and after that an

 

 nmake /f makefile.vc

 

now it is working correctly.

 

Regards

Godofredo Contreras
 
> From: even.rouault at mines-paris.org
> To: gdal-dev at lists.osgeo.org
> Subject: Re: [gdal-dev] error when opening wcs descriptor
> Date: Wed, 20 May 2009 19:43:55 +0200
> CC: frdcn at hotmail.com
> 
> Godofredo,
> 
> This is very surprising. wms and wcs drivers are only compiled if libcurl is 
> available.
> 
> Assuming your platform is Linux :
> My guess is that you have configured a first time without libcurl support, 
> compiled, observed that libcurl support was missing, reconfigured with 
> libcurl support and compiled again... without cleaning. But the second 
> compilation did not recompile the necessary file(s), in that instance 
> port/cpl_http.cpp. If you just 'touch' it and compile, this should work. But 
> as a rule of thumb, the safest way is to make clean after running again 
> configure.
> 
> Best regards,
> 
> Even
> 
> Le Wednesday 20 May 2009 17:46:55 godofredo contreras, vous avez écrit :
> > Hi:
> >
> >
> >
> > I compiled gdal 1.6 from svn source with libcurl, when running gdalinfo
> > --formats wcs, and wms support is listed.
> >
> > But when running gdalinfo descriptor.xml I get the following error:
> >
> >
> >
> > ERROR 6: GDAL/OGR not compiled with libcurl support, remote requests not
> > support ed.
> > gdalinfo failed - unable to open 'nwgis.xml'.
> >
> >
> >
> >
> >
> > why is wcs format is listed as supported but giving an error of not being
> > compiled with libcurl?
> >
> >
> >
> >
> >
> > Regards
> >
> > Godofredo Contreras
> >
> > _________________________________________________________________
> > Hotmail® goes with you.
> > http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutoria
> >l_Mobile1_052009
> 
> 

_________________________________________________________________
Hotmail® goes with you. 
http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090520/fdf3d162/attachment.html


More information about the gdal-dev mailing list