[Gdal-dev] ECW support
Angus MacAulay
gus at vpac.org
Thu Jan 19 00:38:12 EST 2006
Hi,
I am trying to compile GDAL with ECW support (on Linux). Unfortunately
I can't get libecw to compile. Output is shown below, thanks in
advance.
Regards
Gus
Making all in Source
make[1]: Entering directory
`/home/gus/Desktop/libecwj2-3.3.zip_FILES/libecwj2-3.3/Source'
Making all in NCSBuildGnu
make[2]: Entering directory
`/home/gus/Desktop/libecwj2-3.3.zip_FILES/libecwj2-3.3/Source/NCSBuildGnu'
make all-am
make[3]: Entering directory
`/home/gus/Desktop/libecwj2-3.3.zip_FILES/libecwj2-3.3/Source/NCSBuildGnu'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -D_REENTRANT
-DLIBECWJ2 -DLINUX -D_LARGEFILE_SOURCE -D_L ARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -DUNICODE -D_UNICODE -DPOSIX
-I/home/gus/Desktop/libecwj2-3.3.zip _FILES/libecwj2-3.3/Source/include
-I/home/gus/Desktop/libecwj2-3.3.zip_FILES/libecwj2-3.3/Source/C/NCSEcw /lcms/include -Wall -Wno-long-long -fpic -fno-common -g -O2 -MT ______lib_libecwj2_a-NCSJP2.o -MD -MP -M F ".deps/______lib_libecwj2_a-NCSJP2.Tpo" \
-c -o ______lib_libecwj2_a-NCSJP2.o `test -f
'../C/NCSEcw/NCSJP2/NCSJP2.cpp' || echo './'`../C/NCSEcw/NC
SJP2/NCSJP2.cpp; \
then mv -f ".deps/______lib_libecwj2_a-NCSJP2.Tpo"
".deps/______lib_libecwj2_a-NCSJP2.Po"; \
else rm -f ".deps/______lib_libecwj2_a-NCSJP2.Tpo"; exit 1; \
fi
/home/gus/Desktop/libecwj2-3.3.zip_FILES/libecwj2-3.3/Source/include/NCSJP2FileView.h:837: error: ISO C++ forbids declaration of ‘CNCSJPCResample’ with no type
/home/gus/Desktop/libecwj2-3.3.zip_FILES/libecwj2-3.3/Source/include/NCSJP2FileView.h:837: error: expected ‘;’ before ‘*’ token
make[3]: *** [______lib_libecwj2_a-NCSJP2.o] Error 1
make[3]: Leaving directory
`/home/gus/Desktop/libecwj2-3.3.zip_FILES/libecwj2-3.3/Source/NCSBuildGnu'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/gus/Desktop/libecwj2-3.3.zip_FILES/libecwj2-3.3/Source/NCSBuildGnu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/gus/Desktop/libecwj2-3.3.zip_FILES/libecwj2-3.3/Source'
make: *** [all-recursive] Error 1
More information about the Gdal-dev
mailing list