[Gdal-dev] compiling gdal with ECW capabilities

FX GAMOY fx.gamoy at mapxplore.com
Thu Nov 24 08:39:07 EST 2005


Hello everybody

i ve successfully compiled ecw sdk 3.3 package on my amd64 box (gentoo 
distrib) and installed the librairy and source code on /usr/local

When i try to configure gdal --with-ecw=/usr/local , gdal is not able to see 
the ECW librairy.

I ve read some posts talking about this but i can't understand the solution..

"I think the include files need to be in /usr/local/include.  I think
the issue is that some include files were not normally considered
public but are needed by GDAL.  As a workaround I would
suggest copying /usr/local/Source/include/* to /usr/local/include.
Did you unpack your ECW SDK right in /usr/local?  That seems
pretty messy"

i did the copy of my home/source/libecwj2/include/* into /usr/local/include
all the libNCSE* are in /usr/local/lib
but gdal don't see those files...
Do i have to copy all the directory libecwj2-3.3 in usr/local and get
/usr/local/libecwj2-3.3/*  ??

I think i ve missed something... :-)

thanks 
best regards
fx




More information about the Gdal-dev mailing list