<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Thank you for your answer Even:<BR>
<BR>
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<BR>
<BR>
nmake /f makefile.vc clean<BR>
<BR>
and after that an<BR>
<BR>
nmake /f makefile.vc<BR>
<BR>
now it is working correctly.<BR>
<BR>
Regards<BR>
Godofredo Contreras<BR> <BR>> From: even.rouault@mines-paris.org<BR>> To: gdal-dev@lists.osgeo.org<BR>> Subject: Re: [gdal-dev] error when opening wcs descriptor<BR>> Date: Wed, 20 May 2009 19:43:55 +0200<BR>> CC: frdcn@hotmail.com<BR>> <BR>> Godofredo,<BR>> <BR>> This is very surprising. wms and wcs drivers are only compiled if libcurl is <BR>> available.<BR>> <BR>> Assuming your platform is Linux :<BR>> My guess is that you have configured a first time without libcurl support, <BR>> compiled, observed that libcurl support was missing, reconfigured with <BR>> libcurl support and compiled again... without cleaning. But the second <BR>> compilation did not recompile the necessary file(s), in that instance <BR>> port/cpl_http.cpp. If you just 'touch' it and compile, this should work. But <BR>> as a rule of thumb, the safest way is to make clean after running again <BR>> configure.<BR>> <BR>> Best regards,<BR>> <BR>> Even<BR>> <BR>> Le Wednesday 20 May 2009 17:46:55 godofredo contreras, vous avez écrit :<BR>> > Hi:<BR>> ><BR>> ><BR>> ><BR>> > I compiled gdal 1.6 from svn source with libcurl, when running gdalinfo<BR>> > --formats wcs, and wms support is listed.<BR>> ><BR>> > But when running gdalinfo descriptor.xml I get the following error:<BR>> ><BR>> ><BR>> ><BR>> > ERROR 6: GDAL/OGR not compiled with libcurl support, remote requests not<BR>> > support ed.<BR>> > gdalinfo failed - unable to open 'nwgis.xml'.<BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> > why is wcs format is listed as supported but giving an error of not being<BR>> > compiled with libcurl?<BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> > Regards<BR>> ><BR>> > Godofredo Contreras<BR>> ><BR>> > _________________________________________________________________<BR>> > Hotmail® goes with you.<BR>> > http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutoria<BR>> >l_Mobile1_052009<BR>> <BR>> <BR><br /><hr />Hotmail® goes with you. <a href='http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009' target='_new'>Get it on your BlackBerry or iPhone.</a></body>
</html>