Hi again list,<br>
I'm back to work on setting ECW format as a GDAL
external plugin on windows XP with visual studio 7.1 (nmake command
line).<br>
<br>
I have some issues... <br>
My main steps are:<br>
- building GDAL without ECW<br>
- building ECW driver on frmts/ecw separately.<br>
- configuring an ENV variable GDAL_DRIVER_PATH linking to the location where the gdal_ECW_JP2ECW.DLL have been built.<br>
- running gdalinfo to test things.<br>
<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"
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 ---> 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 the generated DLL doesn't contain it.<br>
I have also noticed that the ECW plugin available here
(<a href="http://download.osgeo.org/gdal/win32/1.5/">http://download.osgeo.org/gdal/win32/1.5/</a>) doesn't contain that
registration function.<br>
<br>
Does anyone already successfully used the ECW as a separated plugin on windows?<br>Am I doing something wrong?<br>
Any tips/suggestion would be really appreciated. <br>
<br>
<br>
Best Regards,<br>
Daniele<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>