[FGS] MrSID Support

Normand Savard nsavard at mapgears.com
Fri Jun 12 15:40:05 EST 2009

Wendell Dingus wrote:
> OK, so I've searched the internet, this mailing list, etc... I understand the licensing issues and why you've not bundled it in by default. We have some aerials in that format and want to take advantage of them on a website that we have served by FGS though. 
> This appears to be precisely what we need: 
> http://dev1.lan.mapgears.com/vm-fgsdev1.0/HOWTO-BUILD-RELEASE-COMPATIBLE-PACKAGE.txt 
> We downloaded the vmware image, fired it up, got our bearings.. Then went to LizardTech's site, downloaded the _latest_ SDK, uncommented the line to include it, tried to build the package. 
> What's available on their site now is newer than what is referenced in the config file and this documentation. It bombs out in the compile. It was looking for a file in a subdirectory that existed a level down so I made a symlink to try and work around that and the second attempt made it much further before bombing out. 
> fgs at debian:~/fgs-dev/src/Geo_DSDK-$ ls -l include/support
> lrwxrwxrwx 1 fgs fgs    10 2009-06-07 17:52 support -> ../include
> Here's the build error: 
> ..snip.. 
> mrsiddataset.cpp:1275: error: invalid use of undefined type ‘struct LizardTech::LTIImageReader’ 
> /home/fgs/fgs-dev/src/Geo_DSDK- error: forward declaration of ‘struct LizardTech::LTIImageReader’ 
> mrsiddataset.cpp: In constructor ‘LTIDLLReader<T>::LTIDLLReader(const LizardTech::LTFileSpec&, bool) [with T = LizardTech::MrSIDImageReader]’: 
> mrsiddataset.cpp:1260: instantiated from here 
> mrsiddataset.cpp:123: error: no matching function for call to ‘LizardTech::MrSIDImageReader::MrSIDImageReader(const LizardTech::LTFileSpec&, bool&)’ 
> /home/fgs/fgs-dev/src/Geo_DSDK- note: candidates are: LizardTech::MrSIDImageReader::MrSIDImageReader() 
> /home/fgs/fgs-dev/src/Geo_DSDK- note: LizardTech::MrSIDImageReader::MrSIDImageReader(const LizardTech::MrSIDImageReader&) 
> make[2]: *** [../o/mrsiddataset.o] Error 1 
> make[2]: Leaving directory `/home/fgs/fgs-dev/src/gdal-1.5.0/frmts/mrsid' 
> make[1]: *** [mrsid-install-obj] Error 2 
> make[1]: Leaving directory `/home/fgs/fgs-dev/src/gdal-1.5.0/frmts' 
> make: *** [frmts-target] Error 2 
> ! ./fgs_build: Fatal error returned, exiting... 
> ! /home/fgs/fgs-dev/bin/fgs_build_pkg.sh: Fatal error returned, exiting... 
> So, suggestions? I can't find the referenced version of their SDK anywhere including their site. 

Here is a solution in order to be able to use MrSid within FGS as long 
as you are aware of the license terms.

I attached two object files and a shell script.  Extract it under 
$FGS_HOME/lib.  Download Geo_DSDK- at 
your prefer location and run "sh mrsid_ld.sh" in $FGS_HOME/lib.

It should work without to download the FGS 9.5 VM.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdal_mrsid_support.tgz
Type: application/x-compressed-tar
Size: 22920 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/foss-gis-suite/attachments/20090612/3242c0dc/attachment-0001.bin 

More information about the Foss-gis-suite mailing list