[gdal-dev] Version gdal-svn-stable-2008.01.21 with ECW support
in windows
Frank Warmerdam
warmerdam at pobox.com
Wed Jan 30 13:31:41 EST 2008
Miguel Fernandes wrote:
> Hello,
>
> I'm trying to have the version gdal-svn-stable-2008.01.21 with ECW
> enable in windows but i'm not being successful. I'm have no compilation
> problem but when ask for the formats the ecw is not available.
> I've downloaded de ERMapper SDK 3.3 and linked with those libs but not
> successful, I've downloaded the SDK source code, compiled and linked
> gdal with the libraries but not successful again.
> I'm enabling ecw in GDAL with the following lines:
>
> ECW_PLUGIN = NO
> ECWDIR = C:\Programas\libs\ecw\libecwj2-3.3
> ECWLIB = $(ECWDIR)\lib\NCScnetd.lib $(ECWDIR)\lib\NCScnetSd.lib
> $(ECWDIR)\lib\NCSEcwd.lib $(ECWDIR)\lib\NCSEcwCd.lib
> $(ECWDIR)\lib\NCSEcwCud.lib $(ECWDIR)\lib\NCSEcwSd.lib
> $(ECWDIR)\lib\NCSUtild.lib $(ECWDIR)\lib\NCSUtilSd.lib
>
> Am I missing something in order to enable the feature or is this a
> version mismatch.
Miguel,
The most likely issue (IMHO) is that changes to nmake.opt do not
automatically trigger rebuild of all affected files. So if you did a
build, then added the above to nmake.opt and built again some files would
not get recompiled that need to be.
Try doing a clean and build.
eg.
nmake /f makefile.vc clean
nmake /f makefile.vc
Good luck,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the gdal-dev
mailing list