[Qgis-user] Installation of the new ECW JPEG2000 SDK v5.0

Pedro Jorge de Sousa Ferreira pedrof at utad.pt
Fri Jul 26 03:56:12 PDT 2013


Hi all!
I've followed the instructions posted by Luke in
http://gis.stackexchange.com/questions/27247/ecw-for-qgis-1-8-in-ubuntu-12-04/27398#27398
so I can continue using my ecw files in QGIS. But I've stucked in a
error...Thiis is what come's out of my
terminal when I "sudo gdal-ecw-build /usr/local/ecwjp2_sdk":

//pedro at pedro ~ $ sudo gdal-ecw-build /usr/local/ecwjp2_sdk
Extracting GDAL/ECW tarball
Building GDAL/ECW plugin
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking C_WFLAGS for maximum warnings... -Wall
-Wdeclaration-after-statement
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking CXX_WFLAGS for maximum warnings... -Wall
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu
format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format...
func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ranlib... (cached) ranlib
checking for g++ -shared ... yes
checking for dlopen in -ldl... yes
checking for nanosleep in -lrt... yes
checking for sin in -lm... yes
checking for ANSI C header files... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking dbmalloc.h usability... no
checking dbmalloc.h presence... no
checking for dbmalloc.h... no
checking for dlfcn.h... (cached) yes
checking for stdint.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking whether byte ordering is bigendian... no
checking for 64bit integer type... long long
checking for 64bit file io... yes
checking for stat64... yes
checking for fopen64... yes
checking for ftruncate64... yes
checking size of int... 4
checking size of unsigned long... 4
checking size of void*... 4
checking for int8... no
checking for int16... no
checking for int32... no
checking native cpu bit order... lsb2msb
checking for vprintf... yes
checking for _doprnt... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for atoll... yes
checking for strtof... yes
checking for getcwd... yes
checking whether strtof is declared... yes
checking for readlink... yes
checking for lstat... yes
checking for posix_spawnp... yes
checking for vfork... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for setlocale... yes
checking whether GCC 4.1 atomic builtins are available... yes
checking for gdal-config... /usr/bin/gdal-config
using /usr/lib/gdalplugins/1.10 as GDAL shared library autoload directory
checking for libNCSEcw.so or libecwj2... found Intergraph 5.x+ SDK in
/usr/local/ecwjp2_sdk/lib/x86/release.
checking for NCSECWClient.h in /usr/local/ecwjp2_sdk/include... found.
checking for ECWJP2BuildNumber.h in /usr/local/ecwjp2_sdk/include... found.
configure: creating ./config.status
config.status: creating GDALmake.opt
config.status: WARNING:  'GDALmake.opt.in' seems to ignore the --datarootdir
setting
config.status: executing libtool commands
sed: can't read ./ltmain.sh: No such file or directory
sed: can't read libtoolT: No such file or directory
g++ -g -O2 -fPIC  -Wall  -I/usr/include/gdal -DFRMT_ecw
-I-I/usr/include/gdal -DHAVE_ECW_BUILDNUMBER_H -DLINUX -DX86 -DPOSIX
-DHAVE_COMPRESS -DECW_COMPRESS_RW_SDK_VERSION
-I/usr/local/ecwjp2_sdk/include  -c -o ecwdataset.o ecwdataset.cpp
In file included from /usr/local/ecwjp2_sdk/include/NCSMisc.h:30:0,
                 from /usr/local/ecwjp2_sdk/include/NCSString.h:38,
                 from /usr/local/ecwjp2_sdk/include/NCSThread.h:44,
                 from /usr/local/ecwjp2_sdk/include/NCSUtil.h:67,
                 from /usr/local/ecwjp2_sdk/include/NCSEcw/API/View.h:37,
                 from /usr/local/ecwjp2_sdk/include/NCSFile.h:18,
                 from gdal_ecw.h:59,
                 from ecwdataset.cpp:30:
/usr/lib/gcc/i686-linux-gnu/4.7/include/xmmintrin.h:32:3: erro: #error "SSE
instruction set not enabled"
In file included from ecwdataset.cpp:30:0:
gdal_ecw.h: Na função membro ‘virtual bool VSIIOStream::Write(void*,
UINT32)’:
gdal_ecw.h:370:75: aviso: narrowing conversion of
‘(((VSIIOStream*)this)->VSIIOStream::nCOMLength >> 8)’ from ‘int’ to ‘GByte
{aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
gdal_ecw.h:370:75: aviso: narrowing conversion of
‘(((VSIIOStream*)this)->VSIIOStream::nCOMLength & 255)’ from ‘int’ to ‘GByte
{aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
make: ** [ecwdataset.o] Erro 1//

How can I fix this? I'm using a fresh install of Linux Mint 15




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Installation-of-the-new-ECW-JPEG2000-SDK-v5-0-tp5068917.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list