[Qgis-user] qgis & mrsid

M S mseibel at gmail.com
Thu Oct 29 05:31:26 PDT 2009


I got this to work under 64bit jaunty, QGIS Mimas by following these
instructions:
http://lists.osgeo.org/pipermail/qgis-user/2009-June/005716.html

When I tried the same installation on 32bit karmic, QGIS Mimas, all
seemed ok from output, however QGIS does not recognize mrsid format.
gdalinfo --formats shows that there is mrsid support.

here's the output from the build:
bl at mapping:/usr/local$ sudo /usr/bin/gdal-mrsid-build
/usr/local/Geo_DSDK-7.0.0.2167
grep: /usr/local/Geo_DSDK-7.0.0.2167/include/support/lt_base.h: No
such file or directory
Extracting GDAL/MrSID tarball
Building GDAL/MrSID plugin
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for g++ -shared ... yes
checking for gdal-config... /usr/bin/gdal-config
using /usr/lib/gdal16plugins as GDAL shared library autoload directory
checking for lt_base.h in
/usr/local/Geo_DSDK-7.0.0.2167/include/support... not found.
checking for lt_base.h in /usr/local/Geo_DSDK-7.0.0.2167/include...
found MrSID DSDK version 7.x or newer.
checking for MG3ImageWriter.h in
/usr/local/Geo_DSDK-7.0.0.2167/include/mrsid_writers... no encoding
support.
checking for MrSID JPEG2000 support... enabled
checking for XTIFFClientOpen in -lgeotiff... yes
configure: creating ./config.status
config.status: creating Makefile
g++ -DFRMT_mrsid -Wall -I/usr/local/Geo_DSDK-7.0.0.2167/include
-I/usr/include/geotiff -fPIC  -DFRMT_mrsid -I/usr/include/gdal
-DMRSID_J2K  -I/usr/local/Geo_DSDK-7.0.0.2167/include
-I/usr/include/geotiff   -c -o mrsiddataset.o mrsiddataset.cpp
g++ -DFRMT_mrsid -Wall -I/usr/local/Geo_DSDK-7.0.0.2167/include
-I/usr/include/geotiff -fPIC  -DFRMT_mrsid -I/usr/include/gdal
-DMRSID_J2K  -I/usr/local/Geo_DSDK-7.0.0.2167/include
-I/usr/include/geotiff   -c -o mrsidstream.o mrsidstream.cpp
g++ -shared  mrsiddataset.o mrsidstream.o -lgeotiff
-L/usr/local/Geo_DSDK-7.0.0.2167/lib/Release
-L/usr/local/Geo_DSDK-7.0.0.2167/3rd-party/lib/Release -lltidsdk
-lpthread -llt_kakadu -L/usr/lib -lgdal1.6.0  -o gdal_MrSID.so
install -d /usr/lib/gdal16plugins
cp gdal_MrSID.so /usr/lib/gdal16plugins

Any suggestions?

Thanks,
Mark



More information about the Qgis-user mailing list