<br><br><div class="gmail_quote">On Tue, Dec 9, 2008 at 7:52 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org">even.rouault@mines-paris.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just a pointer : <a href="http://trac.osgeo.org/gdal/ticket/2320" target="_blank">http://trac.osgeo.org/gdal/ticket/2320</a><br>
<br>
The GDALRegister_ECW_JP2ECW function is only available in GDAL 1.5.3 or later,<br>
so when using the plugin in <a href="http://download.osgeo.org/gdal/win32/1.5/" target="_blank">http://download.osgeo.org/gdal/win32/1.5/</a>, it's<br>
normal that you don't find the GDALRegister_ECW_JP2ECW entry point.</blockquote><div><br>Ok. Thank you for the info. I didn't know that. I have simply quickly checked that set of DLL to see if that entry was present somewhere.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
And, as a reminder, you shouldn't mix plugins between GDAL 1.5.X and GDAL<br>
<a href="http://1.6.0." target="_blank">1.6.0.</a> You should always recompile a plugin version that lies in the GDAL<br>
tree with which you want to use it.</blockquote><div><br>Sure. I have made my experiments only with version <a href="http://1.5.3.">1.5.3.</a><br><br>Regards,<br>Daniele<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Le Tuesday 09 December 2008 19:16:34 William Kyngesburye, vous avez écrit :<br>
<div><div></div><div class="Wj3C7c">> On Dec 9, 2008, at 11:37 AM, Daniele Romagnoli wrote:<br>
> > When running gdalinfo I get this error:<br>
> > ERROR 1: Can't find requested entry point: GDALRegister_ECW_JP2ECW<br>
> ><br>
> > Indeed, putting the generated DLL in the "depends/dependency walker"<br>
> > tool, I have only noticed the presence of the following two functions:<br>
> > - GDALRegister_ECW<br>
> > - GDALRegister_JP2ECW<br>
> ><br>
> > whilst the GDALDriverManager:autoLoadDrivers function does:<br>
> > 1) looks for a DLL in the specified GDAL_DRIVER_PATH ---><br>
> > gdal_ECW_JP2ECW.DLL<br>
> > 2) tries to call GDALRegister_ECW_JP2ECW function (missing).<br>
> ><br>
> > The weird thing is that "ecwdataset.cpp" contains that function but<br>
> > the generated DLL doesn't contain it.<br>
> > I have also noticed that the ECW plugin available here<br>
> > (<a href="http://download.osgeo.org/gdal/win32/1.5/" target="_blank">http://download.osgeo.org/gdal/win32/1.5/</a> ) doesn't contain that<br>
> > registration function.<br>
> ><br>
> > Does anyone already successfully used the ECW as a separated plugin<br>
> > on windows?<br>
> > Am I doing something wrong?<br>
> > Any tips/suggestion would be really appreciated.<br>
><br>
> Strange coincidence, or it points to some GDAL bug: I was messing<br>
> around with ECW on OSX as a plugin this weekend. When I compiled the<br>
> plugin for GDAL 1.6, it loaded. When I compiled the plugin for GDAL<br>
> 1.5, I got the equivalent error:<br>
><br>
> ERROR 1: dlsym(0x10160bd50, _GDALRegister_ECW_JP2ECW): symbol not found<br>
> ERROR 1: dlsym(0x10160bd50, _GDALRegisterMe): symbol not found<br>
><br>
> Simply renaming the plugin either gdal_ECW or gdal_JP2ECW works to<br>
> load the driver for the named format.<br>
><br>
> Having one as gdal_ECW, then symlinking that to gdal_JP2ECW works to<br>
> load both. I don't know what the equivalent to symlink is on Windows,<br>
> but duplicating the binary should also work.<br>
><br>
> -----<br>
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
> <a href="http://www.kyngchaos.com/" target="_blank">http://www.kyngchaos.com/</a><br>
><br>
> Theory of the Universe<br>
><br>
> There is a theory which states that if ever anyone discovers exactly<br>
> what the universe is for and why it is here, it will instantly<br>
> disappear and be replaced by something even more bizarrely<br>
> inexplicable. There is another theory which states that this has<br>
> already happened.<br>
><br>
> -Hitchhiker's Guide to the Galaxy 2nd season intro<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> gdal-dev mailing list<br>
> <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>-------------------------------------------------------<br>Eng. Daniele Romagnoli <br>Software Engineer<br><br>GeoSolutions S.A.S.<br>Via Carignoni 51<br>55041 Camaiore (LU)<br>
Italy<br><br>phone: +39 0584983027<br>fax: +39 0584983027<br>mob: +39 328 0559267<br><br><br><a href="http://www.geo-solutions.it">http://www.geo-solutions.it</a><br><br>-------------------------------------------------------<br>
<br>