[Gdal-dev] Compiling ECW JPEG 2000 SDK 3.2 beta

Bill Binko bill at binko.net
Tue Jun 21 00:44:16 EDT 2005


Armin,

Thanks: I tried the new build system to create libecwj2 and had it build 
correctly.  I update GDAL to use it.  However, I get a segfault on opening 
a ECW file with gdalinfo with this stack:

#0  0x405c1aa5 in NCSMutexBegin () from /home/bill/cvsroot/ecw32beta/lib/libecwj2.so.1
#1  0x40587474 in NCSecwGlobalLock () from /home/bill/cvsroot/ecw32beta/lib/libecwj2.so.1
#2  0x40503a16 in CNCSJPCGlobalLock::Lock () from /home/bill/cvsroot/ecw32beta/lib/libecwj2.so.1
#3  0x40503a7b in CNCSJPCGlobalLock::CNCSJPCGlobalLock () from /home/bill/cvsroot/ecw32beta/lib/libecwj2.so.1
#4  0x40520714 in CNCSJP2FileView::CNCSJP2FileView () from /home/bill/cvsroot/ecw32beta/lib/libecwj2.so.1
#5  0x40587b1d in CNCSFile::CNCSFile () from /home/bill/cvsroot/ecw32beta/lib/libecwj2.so.1
#6  0x400d0a17 in ECWDataset::Open () from /usr/lib/libgdal.so.1
#7  0x400d1110 in ECWDataset::OpenECW () from /usr/lib/libgdal.so.1
#8  0x4017963f in GDALOpen () from /usr/lib/libgdal.so.1
#9  0x08049ae7 in main ()

I am going to try the old build process and see if that is more 
successful.

Bill

 On Tue, 21 Jun 2005, Armin Burger wrote:

> Bill,
> 
> the 3.2 beta is at
> 
> http://www.ermapper.com/downloads/download_view.aspx?PRODUCT_VERSION_ID=276
> 
> Armin
> 
> 
> > I'm sorry, Armin... I thought you were talking about -rc2.
> 
> > Could you point me to the download location for 3.2?
> 
> > From what Tom responded, my patch will not be in any release for a while,
> > so you will probably still need it.
> 
> > Bill
> 
> > On Mon, 20 Jun 2005, Bill Binko wrote:
> 
> >> On Mon, 20 Jun 2005, Armin Burger wrote:
> >>
> >> > Hi everybody,
> >>
> >> >
> >> > I tried to compile the new ECW JPEG 2000 SDK 3.2 beta under Linux. It
> >> > compiled without errors (using the 'older system' compilation with
> >> > 'NCSNightlyBuildUnix.ksh'), but under the ../bin/linux/ directory it
> >> > just created the 'libNCSEcwC.so', not the 'libNCSEcw.so'. GDAL looks for
> >> > this file and also the docs say that it should be created. Any clues
> >> > why?
> >> >
> >>
> >> I found that I had to build with
> >>
> >> NCSNightlyBuildUnix.ksh release
> >>
> >> to get the libraries that GDAL needed.  I also HIGHLY recommend either
> >> applying my patch or using the debug libraries (built with NCS....ksh
> >> debug) and changing the GDALmake.opt files.
> >>
> >> My patch can be found here:
> >>
> >> http://forums.ermapper.com/viewtopic.php?p=1630#1630
> >>
> >> Bill
> >> _______________________________________________
> >> Gdal-dev mailing list
> >> Gdal-dev at xserve.flids.com
> >> http://xserve.flids.com/mailman/listinfo/gdal-dev
> >>
> >>
> 
> 
> 
> 



More information about the Gdal-dev mailing list