[Gdal-dev] no sucess trying to build ECW for GDAL

Eduardo Patto Kanegae epk.lists at gmail.com
Wed Sep 27 08:44:18 EDT 2006


Hi,

I'm under SuSE 10.1 machine trying to build ECW toolkit and then build GDAL
against it but got no sucess.

I tryed to build libecwj2-3.3 package using:

$ cd Source/NCSBuildQmake/
$ make -f Makefile-linux-shared
.... then outputs:
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC  -DUNICODE -DLINUX
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -DPOSIX -D_REENTRANT -DLIBECWJ2 -I. -I../../Source/include
-I../../Source/C/NCSEcw/lcms/include -o ../../obj/linux-g++/shared/NCSJP2.o
../../Source/C/NCSEcw/NCSJP2/NCSJP2.cpp
../../Source/include/NCSString.h: In copy constructor
'CNCSString::CNCSString(const CNCSString&)':
../../Source/include/NCSString.h:41: warning: base class 'struct
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >' should be explicitly initialized in the copy
constructor
../../Source/include/NCSJPCBuffer.h: At global scope:
../../Source/include/NCSJPCBuffer.h:176: error: extra qualification
'CNCSJPCBuffer::' on member 'CNCSJPCBuffer'
../../Source/include/NCSJPCBuffer.h:189: error: extra qualification
'CNCSJPCBuffer::' on member 'operator='
../../Source/include/NCSJP2FileView.h:837: error: ISO C++ forbids
declaration of 'CNCSJPCResample' with no type
../../Source/include/NCSJP2FileView.h:837: error: expected ';' before '*'
token
make: *** [../../obj/linux-g++/shared/NCSJP2.o] Error 1

trying 3.3-RC2 version gives me the same error.

Any ideas?

regards

-- 
Eduardo Patto Kanegae
http://www.webmapit.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060927/c1718117/attachment.html


More information about the Gdal-dev mailing list