[FGS] MrSID Support
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:
> 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-188.8.131.527$ ls -l include/support
> lrwxrwxrwx 1 fgs fgs 10 2009-06-07 17:52 support -> ../include
> Here's the build error:
> mrsiddataset.cpp:1275: error: invalid use of undefined type ‘struct LizardTech::LTIImageReader’
> /home/fgs/fgs-dev/src/Geo_DSDK-184.108.40.2067/include/support/lti_types.h:204: 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-220.127.116.117/include/support/MrSIDImageReader.h:37: note: candidates are: LizardTech::MrSIDImageReader::MrSIDImageReader()
> /home/fgs/fgs-dev/src/Geo_DSDK-18.104.22.1687/include/support/MrSIDImageReader.h:37: note: LizardTech::MrSIDImageReader::MrSIDImageReader(const LizardTech::MrSIDImageReader&)
> make: *** [../o/mrsiddataset.o] Error 1
> make: Leaving directory `/home/fgs/fgs-dev/src/gdal-1.5.0/frmts/mrsid'
> make: *** [mrsid-install-obj] Error 2
> make: 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-22.214.171.1247.linux.x86.gcc41.tar.gz 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...
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